AuctionBurnReserveSkew - remove for
loop from initializer
#326
Labels
bug
Something isn't working
G (Gas Optimization)
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
ScopeLift
Vulnerability details
Estimated risk level
Gas Optimization
Impact
Instantiating an array of length n is better than
push(0)
n times and saves 20k gas in tests.Proof of Concept
Tools Used
Recommended Mitigation Steps
change the initializer
The text was updated successfully, but these errors were encountered: