Skip to content

Conversation

litt3
Copy link
Contributor

@litt3 litt3 commented May 6, 2025

Bug Description

  • The previous code was asserting that the number of quorums defined in the blob header must match the number of quorums in the batch
    • This is not a correct assertion, since the batch may include more quorums than the blob
  • The previous code was also asserting that every quorum in the batch meets the defined threshold, but we should only assert that the quorums in the blob header meet the threshold

Fix

I removed the incorrect assertion, and fixed the reporting for unmet thresholds

@litt3 litt3 self-assigned this May 6, 2025
@litt3 litt3 marked this pull request as ready for review May 6, 2025 18:03
@litt3 litt3 requested review from cody-littley and ian-shim May 6, 2025 18:03
@litt3 litt3 requested a review from anupsv May 6, 2025 18:42
@litt3 litt3 merged commit 13dbab1 into master May 6, 2025
17 checks passed
@litt3 litt3 deleted the fix-threshold-check branch May 6, 2025 18:53
Copy link
Contributor

@anupsv anupsv left a comment

Choose a reason for hiding this comment

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

Lgtm

ethenotethan pushed a commit that referenced this pull request May 8, 2025
Fix quorum threshold checking

Signed-off-by: litt3 <[email protected]>
ethenotethan pushed a commit that referenced this pull request May 14, 2025
Fix quorum threshold checking

Signed-off-by: litt3 <[email protected]>
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.

3 participants