Skip to content

Commit

Permalink
use NewMessageCommitMode in t8ntool execution
Browse files Browse the repository at this point in the history
  • Loading branch information
magicxyyz committed Nov 8, 2024
1 parent 2c2bf88 commit a2455c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/evm/internal/t8ntool/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func (pre *Prestate) Apply(vmConfig vm.Config, chainConfig *params.ChainConfig,
rejectedTxs = append(rejectedTxs, &rejectedTx{i, errMsg})
continue
}
msg, err := core.TransactionToMessage(tx, signer, pre.Env.BaseFee, core.MessageCommitMode)
msg, err := core.TransactionToMessage(tx, signer, pre.Env.BaseFee, core.NewMessageCommitMode(nil)) // TODO: do we need to specify wasm targets here if chainConfig.IsArbitrum == false?
if err != nil {
log.Warn("rejected tx", "index", i, "hash", tx.Hash(), "error", err)
rejectedTxs = append(rejectedTxs, &rejectedTx{i, err.Error()})
Expand Down

0 comments on commit a2455c5

Please sign in to comment.