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

Ensure all config vars are present #20

Merged
merged 3 commits into from
Nov 9, 2023
Merged

Ensure all config vars are present #20

merged 3 commits into from
Nov 9, 2023

Conversation

dapplion
Copy link
Member

@dapplion dapplion commented Nov 8, 2023

Add CI step to ensure gnosis config declares all config variables from an upstream Ethereum mainnet config

@dapplion dapplion merged commit ccd4368 into main Nov 9, 2023
3 checks passed
@dapplion dapplion deleted the assert_keys branch November 9, 2023 06:19
Comment on lines +116 to +117
# `MIN_VALIDATOR_WITHDRAWABILITY_DELAY + CHURN_LIMIT_QUOTIENT // 2` (= 33024, ~5 months)
MIN_EPOCHS_FOR_BLOCK_REQUESTS: 33024
Copy link
Contributor

Choose a reason for hiding this comment

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

This used to be 2304 before this PR. Intended change? The new number does not match the comment anymore.

Copy link
Contributor

Choose a reason for hiding this comment

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

Actually, it was 33024 already before (inherited from the preset). But the comment still is wrong and suggests 2304.

Copy link
Contributor

Choose a reason for hiding this comment

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

status-im/nimbus-eth2#5590

Fixed it in Nimbus. Because config.yaml didn't specify it, we defaulted to 2304 based on the computation in the comment.

Copy link
Member Author

Choose a reason for hiding this comment

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

The variable MIN_EPOCHS_FOR_BLOCK_REQUESTS was not defined in the config before this change. It was added 6 months ago in Ethereum's config on a effort to define network variables ethereum/consensus-specs@f87e143

Thanks for noticing, does Nimbus prune blocks according to MIN_EPOCHS_FOR_BLOCK_REQUESTS?

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