From 6bd8bf0cae150300e57b7fdcad743ea8bce3f626 Mon Sep 17 00:00:00 2001 From: Weixie Cui Date: Sat, 4 Jul 2026 19:01:13 +0800 Subject: [PATCH] core: enable EIP-2935 parent block hash processing for Amsterdam The Amsterdam fork also requires EIP-2935 parent block hash processing, but the condition only checked Prague and UBT. Add IsAmsterdam to ensure ProcessParentBlockHash is called on Amsterdam-enabled networks. --- core/state_processor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/state_processor.go b/core/state_processor.go index bc565db6f9..098b1dd2e6 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -169,7 +169,7 @@ func PreExecution(ctx context.Context, beaconRoot *common.Hash, parent common.Ha ProcessBeaconBlockRoot(*beaconRoot, evm, blockAccessList) } // EIP-2935 - if config.IsPrague(number, time) || config.IsUBT(number, time) { + if config.IsPrague(number, time) || config.IsAmsterdam(number, time) || config.IsUBT(number, time) { ProcessParentBlockHash(parent, evm, blockAccessList) } return blockAccessList