New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QA Report #366
Comments
[L‑01] latestAnswer() is deprecated 1 [L‑02] Don't use payable.transfer()/payable.send() 1 [L‑03] Owner can renounce while system is paused 2 [L‑04] _safeMint() should be used rather than _mint() wherever possible 4 [L‑05] Draft imports may break in new minor versions [N‑01] Import declarations should import specific identifiers, rather than the whole file 49 [N‑02] Remove include for hardhat's console 1 [N‑03] Adding a return statement when the function defines a named return variable, is redundant 1 [N‑04] constants should be defined rather than using magic numbers 82 [N‑05] Numeric values having to do with time should use time units for readability 4 [N‑06] Large multiples of ten should use scientific notation (e.g. 1e6) rather than decimal literals (e.g. 1000000), for readability 1 [N‑07] Missing event and or timelock for critical parameter change 18 [N‑08] Events that mark critical parameter changes should contain both the old and the new value 2 [N‑09 & 10] Use a more recent version of solidity 2 [N‑11] Inconsistent spacing in comments 20 [N‑12] Lines are too long 20 [N‑13] Non-library/interface files should use fixed compiler versions, not floating ones 11 [N‑14 & 15] File is missing NatSpec 8 [N‑16] Not using the named return variables anywhere in the function is confusing 5 [N‑17] Duplicated require()/revert() checks should be refactored to a modifier or function 10 [N‑18] Consider using delete rather than assigning zero to clear values 5 [N‑19] Avoid the use of sensitive terms 6 [N‑20] Contracts should have full test coverage 1 [N‑21] Large or complicated code bases should implement fuzzing tests 4L 8R 12NC |
GainsGoblin marked the issue as sponsor confirmed |
GalloDaSballo marked the issue as grade-a |
See the markdown file with the details of this report here.
The text was updated successfully, but these errors were encountered: