40,000 USDC
View results
Submission Details
Severity: gas

Lines are too long

Summary

The Solidity style guide recommends a maximum line length of 120 characters.

Vulnerability Details

There are 3 instances of this issue.

File: src/Escrow.sol
4: // Inspired by `BillOfSaleERC20` contract: https://github.com/open-esq/Digital-Organization-Designs/blob/master/Finance/BillofSaleERC20.sol
28: /// @dev Sets the Escrow transaction values for `price`, `tokenContract`, `buyer`, `seller`, `arbiter`, `arbiterFee`. All of
30: /// @dev Funds should be sent to this address prior to its deployment, via create2. The constructor checks that the tokens have
File Link Instance Count Instance Links
Escrow.sol 3 4,28,30

Impact

Decreased readability/maintainability of project source code.

Tools Used

baudit: a custom static code analysis tool; manual review

Recommendations

Wrap lines at 120 characters per the Solidity style guide. Incorporate a tool like forge fmt or Prettier in your toolchain to do this automatically.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.