From c61145ce497f5914cc0188b6f066222bc7b6719d Mon Sep 17 00:00:00 2001 From: tersec Date: Thu, 9 Nov 2023 13:08:43 +0000 Subject: [PATCH] stop calling engine_exchangeTransitionConfigurationV1 with Dencun-ready ELs --- beacon_chain/el/el_manager.nim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/beacon_chain/el/el_manager.nim b/beacon_chain/el/el_manager.nim index 271afc47b0..f79973e710 100644 --- a/beacon_chain/el/el_manager.nim +++ b/beacon_chain/el/el_manager.nim @@ -1400,6 +1400,11 @@ proc exchangeConfigWithSingleEL(m: ELManager, connection: ELConnection) {.async. connection.etcStatus = EtcStatus.match + # https://github.com/ethereum/execution-apis/blob/c4089414bbbe975bbc4bf1ccf0a3d31f76feb3e1/src/engine/cancun.md#deprecate-engine_exchangetransitionconfigurationv1 + # Consensus layer clients MUST NOT call this method. + if m.eth1Chain.cfg.DENEB_FORK_EPOCH != FAR_FUTURE_EPOCH: + return + # https://github.com/ethereum/execution-apis/blob/v1.0.0-beta.3/src/engine/paris.md#engine_exchangetransitionconfigurationv1 let ourConf = TransitionConfigurationV1(