diff --git a/eth/gasestimator/gasestimator.go b/eth/gasestimator/gasestimator.go index 9dacb074e0..18a6f915f8 100644 --- a/eth/gasestimator/gasestimator.go +++ b/eth/gasestimator/gasestimator.go @@ -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 {