Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: medium
Invalid

Restricted Inclusiveness in Voting Process Due to Early Quorum Completion

Summary

The VotingBooth contract facilitates a voting mechanism where the creator invites a select group of people to vote on a proposal. The voting completion logic, determined by the isActive() check, restricts further votes once the minimum quorum is reached. This approach may limit the inclusiveness of the voting process, especially for users who have not cast their votes when the quorum is met.

Vulnerability Details

The contract's voting completion logic prevents additional votes once the minimum quorum requirement is met. This design choice may impact the democratic nature of the voting process, as users who have not yet voted when the quorum is reached are excluded.

Impact

-Excluding users from voting once the minimum quorum is reached may impact the democratic nature of the voting process. Users who haven't voted by the time the quorum is met won't have an opportunity to participate.

-Inclusion of as many eligible voters as possible is often desirable in voting systems. Restricting further votes might be considered less inclusive, potentially affecting the perceived fairness of the process.

Tools Used

A thorough review of the codebase was done for finding this issue

Recommendations

System should give chance for all the participants to vote, and then compare the number of vote "for" & "against", and then decide whether to refund or distribute the rewards.
If the decision to restrict further votes is intentional, ensure clear communication to users regarding the completion of voting once the quorum is met.

Updates

Lead Judging Commences

0xnevi Lead Judge
over 1 year ago
0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.