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

add dynamic spec check conditions #183

Merged
merged 2 commits into from
Dec 2, 2024
Merged

add dynamic spec check conditions #183

merged 2 commits into from
Dec 2, 2024

Conversation

pk910
Copy link
Member

@pk910 pk910 commented Nov 30, 2024

This PR introduces dynamic spec check conditions that are evaluated using govaluate.
These conditions exclude spec values that are introduced by disabled forks.

This fixes problems with dora running on holesky or sepolia.
More and more clients release electra code, which is not yet used, but spec values already exposed.
Upgrading our testnet nodes leads to spec mismatches for electra/peerdas values as some clients already include them and some not.
This is however not a real issue, as electra is not even planned for activation on these testnets.

With this PR, spec values of future forks (electra, peerdas) are only checked if the corresponding fork is planned for activation.

@pk910 pk910 marked this pull request as ready for review November 30, 2024 18:04
@pk910 pk910 requested a review from skylenet November 30, 2024 18:05
@skylenet skylenet self-requested a review December 2, 2024 10:49
@pk910 pk910 merged commit 7a69b2e into master Dec 2, 2024
3 checks passed
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.

2 participants