Update eth/gasestimator/gasestimator.go

This commit is contained in:
Klimov Sergei 2026-02-07 09:00:15 +08:00 committed by GitHub
parent 86f576f5e8
commit 57e117fdcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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