Skip to content

Commit

Permalink
use MessageReplayMode in StateProcessor.Process
Browse files Browse the repository at this point in the history
  • Loading branch information
magicxyyz committed Sep 26, 2024
1 parent e4d5196 commit 0c3f6eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/state_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
}
// Iterate over and process the individual transactions
for i, tx := range block.Transactions() {
msg, err := TransactionToMessage(tx, signer, header.BaseFee, MessageCommitMode)
msg, err := TransactionToMessage(tx, signer, header.BaseFee, MessageReplayMode)
if err != nil {
return nil, nil, 0, fmt.Errorf("could not apply tx %d [%v]: %w", i, tx.Hash().Hex(), err)
}
Expand Down

0 comments on commit 0c3f6eb

Please sign in to comment.