Skip to content

fix: allow zero-voter distributions (#77)#104

Open
Tranquil-Flow wants to merge 2 commits intomainfrom
fix/77-zero-voter
Open

fix: allow zero-voter distributions (#77)#104
Tranquil-Flow wants to merge 2 commits intomainfrom
fix/77-zero-voter

Conversation

@Tranquil-Flow
Copy link
Copy Markdown

Summary

  • Removes the totalVotes == 0 early return from MultiStrategyDistributionManager.isDistributionReady()
  • Updates NatSpec in both implementation and IDistributionManager interface
  • Enables fixed-grant distribution for small communities with no active voters

Closes #77

Test plan

  • Verify isDistributionReady() returns true when votes are 0 but cycle is complete, recipients exist, strategies are configured, and yield is sufficient
  • Run full test suite — 191 tests pass

Remove the totalVotes == 0 early-return from isDistributionReady()
so small communities with no active voters can still distribute
yield to recipients (e.g., fixed grants). Matches breadchain
contract behavior.
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.

Should distros be activated with 0 voters or not?

1 participant