Reduce min epochs for block requests in Gloas - #5680
Merged
jtraglia merged 9 commits intoSep 28, 2026
Merged
Conversation
…epochs-for-block-requests
This was referenced Sep 25, 2026
jtraglia
reviewed
Sep 25, 2026
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
jihoonsong
approved these changes
Sep 28, 2026
jihoonsong
left a comment
Member
There was a problem hiding this comment.
IMO, this can be merged in and clients can implement this at their preferences, e.g. before or after Gloas.
jihoonsong
reviewed
Sep 28, 2026
Co-authored-by: Jihoon Song <jihoonsong@users.noreply.github.com>
6 tasks
kevaundray
approved these changes
Sep 28, 2026
Member
|
At ACDT today, we agreed to merge this PR today. As Jihoon said above, clients do not need to make this change immediately. Since this just lowers the minimum, clients remain spec-compliant without any changes. |
jtraglia
approved these changes
Sep 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
compute_min_epochs_for_block_requests()is derived fromcompute_weak_subjectivity_periodfor a very large validator set at maximal safety decay (#2131). EIP-8061 changed the churn limits and updatedcompute_weak_subjectivity_period(#5061), which roughly halves the weak subjectivity period (#5629), butcompute_min_epochs_for_block_requests()was not updated and still returns 33024 epochs based on the Phase 0CHURN_LIMIT_QUOTIENT.This applies the same change, which gives 14299 epochs (~2 months) on mainnet and 262 on minimal. It is a relaxation, clients can keep serving a longer range.