Skip to content

Conversation

@Soupstraw
Copy link
Contributor

@Soupstraw Soupstraw commented Nov 4, 2025

Description

This PR changes how CC votes are counted in the case where there aren't enough CC members and the threshold is zero. According to the discussion in IntersectMBO/cardano-ledger#5170, CC should accept only if both the ccMinSize and threshold are set to zero.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • Any semantic changes to the specifications are documented in CHANGELOG.md
  • Code is formatted according to CONTRIBUTING.md
  • Self-reviewed the diff

@Soupstraw Soupstraw changed the title Only ratify CC if minsize and threshold are both zero Only accept CC if minsize and threshold are both zero Nov 4, 2025
@Soupstraw Soupstraw requested a review from carlostome November 4, 2025 15:42
@Soupstraw Soupstraw marked this pull request as ready for review November 4, 2025 15:42
@carlostome
Copy link
Collaborator

carlostome commented Nov 4, 2025

The cardano-ledger test from IntersectMBO/cardano-ledger#5184 is still failing after these changes.

@Soupstraw Soupstraw marked this pull request as draft November 5, 2025 10:22
@Soupstraw Soupstraw marked this pull request as ready for review November 5, 2025 12:17
@Soupstraw
Copy link
Contributor Author

Turns out there was another bug as well. The ccMinSize was checked against all the CC members, not just the active ones.

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