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

feat: support voting flow #27

Merged
merged 2 commits into from
Mar 1, 2024
Merged

feat: support voting flow #27

merged 2 commits into from
Mar 1, 2024

Conversation

0xmad
Copy link

@0xmad 0xmad commented Feb 26, 2024

  • Add useMaciVote hook
  • Integrate maci cli sdk publish batch method
  • Minor naming fixes
  • Update libs to support transaction final state
  • Add voting mutation with lock/unlock ballot
  • Add project id mapper to vote index
  • Fixes for new dependencies versions
  • Add vote limit for ballot and project selection

Blocked by #21
Blocked by privacy-scaling-explorations/maci#1251
Closes #7

@0xmad 0xmad added the enhancement New feature or request label Feb 26, 2024
@0xmad 0xmad self-assigned this Feb 26, 2024
Copy link

vercel bot commented Feb 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
maci-rpgf ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 1, 2024 7:05pm

- [x] Update libs to support transaction final state
- [x] Add voting mutation with lock/unlock ballot
- [x] Add project id mapper to vote index
- [x] Fixes for new dependencies versions
Copy link

@ctrlc03 ctrlc03 left a comment

Choose a reason for hiding this comment

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

Thanks, left a comment on the batch submission logic

src/hooks/useMaciVote.ts Show resolved Hide resolved
src/hooks/useMaciVote.ts Show resolved Hide resolved
Copy link

@kittybest kittybest left a comment

Choose a reason for hiding this comment

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

@0xmad seems like this PR contains 2 big things: bumping dependency versions and voting flow.
do you think we should split them and we could do more for the voting flow? (e.g. consider ctrl03's opinion on batch number stuff).
I could help the bumping version stuff.

@0xmad
Copy link
Author

0xmad commented Feb 29, 2024

@0xmad seems like this PR contains 2 big things: bumping dependency versions and voting flow. do you think we should split them and we could do more for the voting flow? (e.g. consider ctrl03's opinion on batch number stuff). I could help the bumping version stuff.

Without dependency updates locking ballot won't work. Changes related to updates don't have many breaking changes, just minor fixes.

Copy link

@ctrlc03 ctrlc03 left a comment

Choose a reason for hiding this comment

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

Thanks!

@0xmad 0xmad merged commit 9e01809 into main Mar 1, 2024
2 checks passed
@0xmad 0xmad deleted the feature/voting branch March 1, 2024 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Voting flow
4 participants