From dd9ea020c3e7d8f9fe243961600a993a2f44c3e9 Mon Sep 17 00:00:00 2001 From: Manuel Arto <43347768+manusw7@users.noreply.github.com> Date: Sat, 27 Jun 2026 11:23:25 +0200 Subject: [PATCH] Update simulate.go --- internal/ethapi/simulate.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/ethapi/simulate.go b/internal/ethapi/simulate.go index c5752ce48e..4d9c54464b 100644 --- a/internal/ethapi/simulate.go +++ b/internal/ethapi/simulate.go @@ -578,10 +578,6 @@ func (sim *simulator) makeHeaders(blocks []simBlock) ([]*types.Header, error) { ParentBeaconRoot: parentBeaconRoot, }) // A difficulty override is documented as a no-op for post-merge blocks. - // MakeHeader applies it unconditionally though, so re-zero it here: a - // non-zero difficulty makes the simulated header fail IsPoSHeader, which - // routes block assembly through the legacy (PoW) engine even though the - // block carries post-merge fields, leading to a panic. if isPostMerge { header.Difficulty = big.NewInt(0) }