QA Report #224
Labels
bug
Something isn't working
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Mixed used of uint and uint256
Contract VeloGovernor.sol uses uint256 while the other contracts use uint
NATSPEC INCOMPLETE
File: VotingEscrow.sol 815
missing @param tokenid
Other Instances:
File: VotingEscrow.sol 826
File: VotingEscrow.sol line 162
Missing @ return
File: VotingEscrow.sol 216-218
Missing @ return
File: VotingEscrow.sol 190-193
Missing @ return
File: VotingEscrow.sol 186
Missing @ return
File: VotingEscrow.sol line 414
Missing @ return
TYPO
File: VotingEscrow.sol line 295
/// @dev Exeute transfer of a NFT.
Exeute Instead of Execute
Overflow is desired
File: Pair.sol line 232
The comment in above says that overflow is desired (if that's the desired output then we should use unchecked to ensure we get the desired results)
File: Pair.sol line 206
Note the comment says overflow is desired. If this is the case then we would still not achieve the desired output as solidity 0.8+ has built in checks for ensuring that our arithmetic operations do not overflow.
Use of both named returns and return statements
When we have a named return we should not use return statements for clarity
File: Pair.sol 253line 253
TODO left in the code
File: line 524
File minter.sol line 11
File: VotingEscrow.sol line 314
The text was updated successfully, but these errors were encountered: