From 0199e57fcf7a02993ae4fd42aaabb6dfaf617965 Mon Sep 17 00:00:00 2001 From: wit liu <765765346@qq.com> Date: Sun, 14 Dec 2025 16:17:00 +0800 Subject: [PATCH] internal/ethapi: select precompiles using the simulated header #33363 (#1866) --- internal/ethapi/simulate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/simulate.go b/internal/ethapi/simulate.go index 48332eca49..a3b631f1c1 100644 --- a/internal/ethapi/simulate.go +++ b/internal/ethapi/simulate.go @@ -159,7 +159,7 @@ func (sim *simulator) processBlock(ctx context.Context, block *simBlock, header, } } blockContext := core.NewEVMBlockContext(header, sim.newSimulatedChainContext(ctx, headers), nil) - 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, err