57179 bc insight during the call to native totalsupply there s missing gas charges
Description
Brief/Intro
Vulnerability Details
{"native_totalSupply", func(env *xenv.Environment) []any {
@1> env.UseGas(thor.SloadGas)
supply, err := Energy.Native(env.State(), env.BlockContext().Time).TotalSupply()
if err != nil {
panic(err)
}
return []any{supply}
}}Impact Details
References
Proof of Concept
Suggested Fix
Previous57412 sc insight gas optimization insight improve gas cost efficiency by the use of custom errors in staker sol contractNext57136 bc low txpool priority cache lets base fee swings reduce proposers tips
Was this helpful?