Skip to content

fix: review feedback on PR #67#1

Merged
Fiuum1 merged 2 commits intoFiuum1:fix-issue-14from
BreadchainCoop:review-fixes
Mar 20, 2026
Merged

fix: review feedback on PR #67#1
Fiuum1 merged 2 commits intoFiuum1:fix-issue-14from
BreadchainCoop:review-fixes

Conversation

@RonTuretzky
Copy link
Copy Markdown

Summary

  • Add inline comment documenting integer division rounding behavior in the contest threshold check (small member counts can lower the effective veto threshold)
  • Change _deduct visibility from private to internal for consistency with all other helper functions
  • Fix gendered language in AlreadyContestedByMember NatSpec (hethey)
  • Remove empty src/contracts/modification.txt

Addresses review comments on BreadchainCoop#67.

Test plan

  • forge build passes
  • Pre-commit hooks (lint + fmt) pass
  • Existing test suite passes (forge test)

- Fix contest threshold integer division rounding: multiply contestCount
  by PERCENTAGE_BASE instead of dividing the right-hand side, preventing
  truncation from silently lowering the effective veto threshold
- Change _deduct visibility from private to internal for consistency
  with other helper functions
- Fix gendered language in AlreadyContestedByMember NatSpec
- Remove empty src/contracts/modification.txt
Copy link
Copy Markdown
Owner

@Fiuum1 Fiuum1 left a comment

Choose a reason for hiding this comment

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

lgtm

@RonTuretzky
Copy link
Copy Markdown
Author

@Fiuum1 please merge I don't have acess to merge on your fork

After you merge this will update the PR

@Fiuum1 Fiuum1 merged commit 0454861 into Fiuum1:fix-issue-14 Mar 20, 2026
@RonTuretzky RonTuretzky deleted the review-fixes branch March 21, 2026 19:56
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.

2 participants