[consensus] HACK: Skip proposals to simulate proposer faults in P90 test#19328
Closed
danielxiangzl wants to merge 3 commits into
Closed
[consensus] HACK: Skip proposals to simulate proposer faults in P90 test#19328danielxiangzl wants to merge 3 commits into
danielxiangzl wants to merge 3 commits into
Conversation
Replaces the land_blocking forge suite with a latency-focused test that uses a mainnet-representative validator distribution (~70% EU, ~20% NA, ~10% Asia) instead of the previous even 25%/25%/25%/25% four-region split. The even split over-weights Asia (25% vs ~2% on mainnet) and under-weights EU, making P90 thresholds misleading. The new distribution causes EU proposers to dominate rounds as they do on mainnet, exercising the actual latency bottlenecks (distant proposers racing with EU batch arrival). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Last 2 validators (by ordered index) skip both regular and optimistic proposals 50% of the time (even rounds). Uses last 2 to avoid EU nodes which dominate the front of the ordered list in mainnet-like distribution. This is prototype/experiment code — not for merge to main. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
d911a1b to
8aa9231
Compare
This comment has been minimized.
This comment has been minimized.
Contributor
✅ Forge suite
|
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.
Summary
Test plan
land_blocking(P90 latency test) and observe round timeout rate🤖 Generated with Claude Code