-
Notifications
You must be signed in to change notification settings - Fork 0
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 Optimization: Use != 0 instead of > 0 #75
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
G (Gas Optimization)
Comments
Will address |
Duplicate of #24 |
A duplicate of #24 |
This was referenced Jan 20, 2022
This was referenced Jan 27, 2022
This was referenced Feb 4, 2022
This was referenced Feb 24, 2022
This was referenced Mar 17, 2022
This was referenced Jun 18, 2022
This was referenced Jun 25, 2022
This was referenced Jul 12, 2022
This was referenced Jul 31, 2022
This was referenced Aug 15, 2022
This was referenced Sep 14, 2022
This was referenced Sep 24, 2022
This was referenced Oct 12, 2022
This was referenced Nov 4, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
G (Gas Optimization)
Handle
gzeon
Vulnerability details
Impact
For uint != 0 is slightly cheaper than > 0
https://github.com/maple-labs/debt-locker/blob/81f55907db7b23d27e839b9f9f73282184ed4744/contracts/DebtLocker.sol#L312
The text was updated successfully, but these errors were encountered: