Skip to content
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 #396

Open
code423n4 opened this issue Aug 6, 2022 · 0 comments
Open

Gas Optimizations #396

code423n4 opened this issue Aug 6, 2022 · 0 comments
Labels

Comments

@code423n4
Copy link
Contributor

contract HomeFiProxy.sol

in line 87
in line 136

    changing i++ to ++i will save around 800 gas together

Recommendation:

    for (uint256 i = 0; i < _length; ++i) throughout 2 line recommendations

contract Project.sol in

Line 248
Line 311
Line 311

changing i++ to ++i will save around 1200 gas together

Recommendation:

for (uint256 i = 0; i < _length; i++) throughout 3 line recommendations
@code423n4 code423n4 added bug Something isn't working G (Gas Optimization) labels Aug 6, 2022
code423n4 added a commit that referenced this issue Aug 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants