Skip to content

Commit

Permalink
fix(core): fix a transaction Message assembling issue (taikoxyz#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored and lwedge99 committed Sep 23, 2024
1 parent 598df3e commit 9d91534
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/state_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
if err != nil {
return nil, nil, 0, fmt.Errorf("could not apply tx %d [%v]: %w", i, tx.Hash().Hex(), err)
}
if p.config.IsOntake(block.Number()) {
msg.BasefeeSharingPctg = DecodeOntakeExtraData(header.Extra)
}
statedb.SetTxContext(tx.Hash(), i)
receipt, err := applyTransaction(msg, p.config, gp, statedb, blockNumber, blockHash, tx, usedGas, vmenv)
if err != nil {
Expand Down

0 comments on commit 9d91534

Please sign in to comment.