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

fix endless loop when validator set cannot be loaded on dead chain #151

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

pk910
Copy link
Member

@pk910 pk910 commented Oct 14, 2024

As currently seen on https://dora.ssz-devnet-0.ethpandaops.io

There is no validator set available as there is no blocks in the network and no epoch stats are loaded.
Due to an issue in the GetCanonicalValidatorSet, dora gets stuck in an endess loop, trying to iterate to the parent of epoch 0, which obviously doesn't work.

The error propagates down to several pages and other parts of the code as they're all calling the GetCanonicalValidatorSet` function:
image

@pk910 pk910 merged commit e9fe2f3 into master Oct 14, 2024
1 check passed
@pk910 pk910 deleted the pk910/fix-endless-loop branch October 14, 2024 09:28
pk910 added a commit that referenced this pull request Oct 15, 2024
pk910 added a commit that referenced this pull request Oct 16, 2024
…epoch-0

fix loading validator set for epoch 0 (fix #151)
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