Gas Optimizations #110
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
G (Gas Optimization)
sponsor disputed
Sponsor cannot duplicate the issue, or otherwise disagrees this is an issue
Using "> 0" is less consuming than != 0 for uint in requirements :
The mint function in : https://github.com/code-423n4/2022-05-aura/blob/main/contracts/Aura.sol contract at the totalsupply check it checks using not equal to instead of if greater than for 0 checks and this is way more gas onsuming,
see :
Using :
consumed :
Using :
Consumed :
The text was updated successfully, but these errors were encountered: