Skip to content

Commit 94a0df3

Browse files
committed
pass the same run context in gas estimation
1 parent 3f25ce0 commit 94a0df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/gasestimator/gasestimator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ func run(ctx context.Context, call *core.Message, opts *Options) (*core.Executio
270270
}
271271

272272
// Arbitrum: a tx can schedule another (see retryables)
273-
result, err = opts.RunScheduledTxes(ctx, opts.Backend, dirtyState, opts.Header, evmContext, core.NewMessageGasEstimationContext(), result)
273+
result, err = opts.RunScheduledTxes(ctx, opts.Backend, dirtyState, opts.Header, evmContext, call.TxRunContext, result)
274274
if err != nil {
275275
return nil, err
276276
}

0 commit comments

Comments
 (0)