Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stop calling engine_exchangeTransitionConfigurationV1 with Dencun-ready ELs #5585

Merged
merged 1 commit into from
Nov 11, 2023

Conversation

tersec
Copy link
Contributor

@tersec tersec commented Nov 9, 2023

ethereum/execution-apis#420

Once Dencun has become the baseline enough that a sufficient portion of the network is running a Dencun-capable EL, all engine_exchangeTransitionConfigurationV1-related infrastructure can be removed (e.g., TransitionConfigurationV1, etc), but this keeps it in place until then.

It won't be necessary to wait until the very last holdout, because it's mainly to avoid the ELs creating warnings -- and at that point, the fix can be, update your EL client.

Copy link

github-actions bot commented Nov 9, 2023

Unit Test Results

         9 files  ±0    1 098 suites  ±0   33m 43s ⏱️ + 6m 30s
  3 947 tests ±0    3 600 ✔️ ±0  347 💤 ±0  0 ±0 
16 054 runs  ±0  15 656 ✔️ ±0  398 💤 ±0  0 ±0 

Results for commit c61145c. ± Comparison against base commit d9031d9.

@@ -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:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't the spec saying that the ELs should stop reporting an error message about this once the Cancun fork epoch is reached? The check here is doing something different.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I asked about this recently in an Eth R&D Discord thread in the #json-rpc-api channel:
when_stop_etc

@zah zah merged commit 14c68ea into unstable Nov 11, 2023
11 checks passed
@zah zah deleted the m5w branch November 11, 2023 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants