diff --git a/core/state_processor.go b/core/state_processor.go index 232e3ba97c99..6cf0494e87ae 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -100,6 +100,9 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg if err != nil { return nil, 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 := ApplyTransactionWithEVM(msg, p.config, gp, statedb, blockNumber, blockHash, tx, usedGas, vmenv)