40,000 USDC
View results
Submission Details
Severity: gas

Long lines of code

Summary

Long lines of code

Vulnerability Details

Usually lines in source code are limited to 80 characters. Today's screens are much larger so it's reasonable to stretch this in some cases. The solidity style guide recommends a maximumum line length of 120 characters, so the lines below should be split when they reach that length.

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

Link to code

File: /src/IEscrowFactory.sol
12: /// @notice deploy a new escrow contract. The escrow will hold all the funds. The buyer is whoever calls this function.

Link to code

Impact

Informational

Tools Used

Manual

Recommendations

limit the line number of chars to max 80 chars

Support

FAQs

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