Skip to content

Commit 04d76e8

Browse files
fix(core): fix a transaction Message assembling issue (#308)
1 parent b5ac526 commit 04d76e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/state_processor.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
9191
if err != nil {
9292
return nil, nil, 0, fmt.Errorf("could not apply tx %d [%v]: %w", i, tx.Hash().Hex(), err)
9393
}
94+
if p.config.IsOntake(block.Number()) {
95+
msg.BasefeeSharingPctg = DecodeOntakeExtraData(header.Extra)
96+
}
9497
statedb.SetTxContext(tx.Hash(), i)
9598
receipt, err := applyTransaction(msg, p.config, gp, statedb, blockNumber, blockHash, tx, usedGas, vmenv)
9699
if err != nil {

0 commit comments

Comments
 (0)