mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
internal/ethapi: select precompiles using the simulated header
This commit is contained in:
parent
73a2df2b0a
commit
7dffc707bc
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ func (sim *simulator) processBlock(ctx context.Context, block *simBlock, header,
|
|||
if block.BlockOverrides.BlobBaseFee != nil {
|
||||
blockContext.BlobBaseFee = block.BlockOverrides.BlobBaseFee.ToInt()
|
||||
}
|
||||
precompiles := sim.activePrecompiles(sim.base)
|
||||
precompiles := sim.activePrecompiles(header)
|
||||
// State overrides are applied prior to execution of a block
|
||||
if err := block.StateOverrides.Apply(sim.state, precompiles); err != nil {
|
||||
return nil, nil, nil, err
|
||||
|
|
|
|||
Loading…
Reference in a new issue