Update eth/gasestimator/gasestimator.go

This commit is contained in:
Klimov Sergei 2026-02-07 09:07:28 +08:00 committed by GitHub
parent adc122089e
commit f15bf89f75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -264,6 +264,7 @@ func run(ctx context.Context, call *core.Message, opts *Options) (*core.Executio
defer cancel()
context.AfterFunc(ctx, evm.Cancel)
// Execute the call, returning a wrapped error or the result
result, err := core.ApplyMessage(evm, call, new(core.GasPool).AddGas(math.MaxUint64))
if vmerr := dirtyState.Error(); vmerr != nil {