Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allowing the successful exchange of the transition config values before the TTD is known allows users to setup their EL+CL today. This helps ensure the network is Ready For The Merge™ and helps with Testing The Merge™.
The consensus specs specify a placeholder TTD of
115792089237316195423570985008687907853269984665640564039457584007913129638912
, which is equal to2**256-2**10
. This value is absurdly high, but not the full size of auint256
such that we can still perform tests with greater-than-TTD values.AFAIK, there is no equivalent placeholder value in the EL specs. Geth presently returns a TTD of
null
and Nethermind a value of0
.For reasons specified earlier, I think CL and EL should agree on these placeholder values. Since a specification already exists for the CL (although it is somewhat implicit), I propose that we explicitly apply the same specification to both EL and CL.