56513 bc insight during the call to native issuance there s a missing gas charge before call to calculaterewards
Description
Brief/Intro
Vulnerability Details
{"native_issuance", func(env *xenv.Environment) ([]any, error) {
charger := gascharger.New(env)
staker := Staker.NativeMetered(env.State(), charger)
@> issuance, err := Energy.Native(env.State(), env.BlockContext().Time).CalculateRewards(staker)
if err != nil {
return nil, err
}
return []any{issuance}, nil
}}Impact Details
References
Proof of Concept
Previous56611 bc medium remote p2p crash during sync thor default configuration Next56454 bc insight gas undercharging threatens hayabusa network upgrade
Was this helpful?