Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two-phase voting #8

Merged
merged 50 commits into from
Jun 28, 2022
Merged

Two-phase voting #8

merged 50 commits into from
Jun 28, 2022

Conversation

folkyatina
Copy link
Member

Add a special period that starts after the voting time ends. During that period only 'no' votes can be submitted

@folkyatina folkyatina marked this pull request as draft April 29, 2022 09:38
@folkyatina folkyatina marked this pull request as ready for review May 3, 2022 13:05
@TheDZhon TheDZhon self-requested a review May 3, 2022 14:28
@folkyatina folkyatina requested a review from bulbozaur May 24, 2022 08:25
Copy link

@bulbozaur bulbozaur left a comment

Choose a reason for hiding this comment

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

LGTM, but need to clarify description for _canVote _isVoteOpen

Copy link

@TheDZhon TheDZhon left a comment

Choose a reason for hiding this comment

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

LGTM except some minor points 🚀

apps/voting/contracts/Voting.sol Outdated Show resolved Hide resolved
apps/voting/contracts/Voting.sol Outdated Show resolved Hide resolved
apps/voting/contracts/Voting.sol Show resolved Hide resolved
apps/voting/contracts/Voting.sol Outdated Show resolved Hide resolved
apps/voting/contracts/Voting.sol Show resolved Hide resolved
apps/voting/contracts/Voting.sol Outdated Show resolved Hide resolved
apps/voting/contracts/Voting.sol Outdated Show resolved Hide resolved
apps/voting/contracts/Voting.sol Show resolved Hide resolved
apps/voting/contracts/Voting.sol Show resolved Hide resolved
apps/voting/contracts/Voting.sol Show resolved Hide resolved
apps/voting/contracts/Voting.sol Outdated Show resolved Hide resolved
apps/voting/contracts/Voting.sol Outdated Show resolved Hide resolved
apps/voting/contracts/Voting.sol Outdated Show resolved Hide resolved
apps/voting/contracts/Voting.sol Outdated Show resolved Hide resolved
apps/voting/contracts/Voting.sol Outdated Show resolved Hide resolved
@skozin
Copy link
Member

skozin commented May 25, 2022

LGTM except few places in documentation

@folkyatina folkyatina requested review from skozin and TheDZhon May 25, 2022 07:28
Alexey Potapkin added 6 commits June 3, 2022 19:04
Fix LOW-5 from MixBytes Voting V2 audit
Fix LOW-8 from MixBytes Voting V2 audit
Vote time becomes the overall time when voting is possible and vote is opened. Main phase is the first period of the vote time when one can vote yes or no and objection phase is a second period of the vote time when one can vote only no.
@folkyatina folkyatina merged commit 1433962 into master Jun 28, 2022
@folkyatina folkyatina deleted the feature/two_phase_voting branch June 28, 2022 08:09
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.

6 participants