Gas Optimizations #184
Labels
bug
Something isn't working
G (Gas Optimization)
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Report
G-01: don't check whether uint is >= 0
Since a uint will always be
>= 0
it's not necessary to check that. Removing this will save you gas:https://github.com/code-423n4/2022-05-aura/blob/main/convex-platform/contracts/contracts/CrvDepositor.sol#L75
The text was updated successfully, but these errors were encountered: