mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
fix(core): fix a transaction Message assembling issue (#308)
This commit is contained in:
parent
b5ac526d9a
commit
04d76e8f01
1 changed files with 3 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue