Skip to content

Commit

Permalink
stop calling engine_exchangeTransitionConfigurationV1 with Dencun-rea…
Browse files Browse the repository at this point in the history
…dy ELs
  • Loading branch information
tersec committed Nov 9, 2023
1 parent 4399361 commit c61145c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions beacon_chain/el/el_manager.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c61145c

Please sign in to comment.