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
Gas Optimizations #24
Comments
| GAS-1 | Use assembly to check for address(0) | 36 | | GAS-2 | Using bools for storage incurs overhead | 2 | | GAS-3 | Cache array length outside of loop | 3 | | GAS-5 | Use calldata instead of memory for function arguments that do not get mutated | 13 | | GAS-6 | Functions guaranteed to revert when called by normal users can be marked payable | 31 | | GAS-8 | Using private rather than public for constants, saves gas | 5 | Around 600 gas, report is generic but advice is good |
GalloDaSballo marked the issue as grade-b |
Am going to award B for submitting acceptable advice, however, long-term I believe we want to see more nuanced and high impact reports such as the winning one |
See the markdown file with the details of this report here.
The text was updated successfully, but these errors were encountered: