From 14c68ea2854cb0b022ecf8125df60e7c12837a2c Mon Sep 17 00:00:00 2001 From: tersec Date: Sat, 11 Nov 2023 11:47:03 +0300 Subject: [PATCH] stop calling engine_exchangeTransitionConfigurationV1 with Dencun-ready ELs (#5585) --- 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 d1196c038..77eb21af7 100644 --- a/beacon_chain/el/el_manager.nim +++ b/beacon_chain/el/el_manager.nim @@ -1398,6 +1398,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(