double reading of state variable inside a loop #98
Labels
bug
Something isn't working
G (Gas Optimization)
question
Further information is requested
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
pants
Vulnerability details
MixinOperatorResolver.rebuildCache (addressCache[name]), isResolverCached (addressCache[name])
You can cache the value after the first read into a local variable to save the other SLOAD and also the "out of bounds" check.
The text was updated successfully, but these errors were encountered: