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

Disable light client when fork epoch is misaligned #7022

Open
wants to merge 7 commits into
base: release-v7.0.0
Choose a base branch
from

Conversation

eserilev
Copy link
Collaborator

@eserilev eserilev commented Feb 21, 2025

Closes #7002

Temporarily disables light client functionality when fork epoch is misaligned

Add metrics for Light client gossip verification failures. I've added two categories of errors Failures and Ignores so we can differentiate between "real" failures and janky data. I've also added a new error type TooLate so that we dont include stale data as part of our "Failures" metrics. Ideally it'd be nice to have this included in the 7.0 release

@eserilev eserilev added ready-for-review The code is ready for review light-client v7.0.0 New release c. Q1 2025 labels Feb 21, 2025
@eserilev eserilev changed the title Light client gossip failure metrics Disable Light client when fork epoch is misaligned Feb 21, 2025
@eserilev eserilev changed the title Disable Light client when fork epoch is misaligned Disable light client when fork epoch is misaligned Feb 21, 2025
@eserilev eserilev added work-in-progress PR is a work-in-progress and removed ready-for-review The code is ready for review labels Feb 22, 2025
@eserilev eserilev added ready-for-review The code is ready for review and removed work-in-progress PR is a work-in-progress labels Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
light-client ready-for-review The code is ready for review v7.0.0 New release c. Q1 2025
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not attempt light client computations when fork epoch is misaligned
1 participant