Skip to content

Commit

Permalink
Merge branch 'master' into fix-state-at-block-memory-leak
Browse files Browse the repository at this point in the history
  • Loading branch information
magicxyyz authored Oct 24, 2023
2 parents e9e463e + 2eaa152 commit 725dd41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 725dd41

Please sign in to comment.