From e8c8827c0b9e22e60829da1945cba9c451cda85a Mon Sep 17 00:00:00 2001 From: Lee Bousfield Date: Thu, 19 Oct 2023 12:08:08 -0600 Subject: [PATCH] Set TxRunMode for scheduled txs in DoCall --- internal/ethapi/api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 000745199..e370f249a 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -1068,6 +1068,7 @@ func DoCall(ctx context.Context, b Backend, args TransactionArgs, blockNrOrHash if err != nil { return nil, err } + msg.TxRunMode = runMode // make a new EVM for the scheduled Tx (an EVM must never be reused) evm, vmError := b.GetEVM(ctx, msg, state, header, &vm.Config{NoBaseFee: true}, &blockCtx) go func() {