-
Notifications
You must be signed in to change notification settings - Fork 103
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: Votes sum invariant #330
Conversation
…ikhita/add-invariants
# Conflicts: # go.mod
# Conflicts: # go.mod
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
@likhita-809 could you resolve the conflicts? |
…into likhita/proposal-tally-invariant
I've been thinking through this invariant a little bit and I believe it might bring some issues in the following case:
|
…nd ensure that group account and group are not modified in votesSumInvariant
…into likhita/proposal-tally-invariant
…into likhita/proposal-tally-invariant
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pre-approving, pending small nits
Closes: #326
Add an invariant to verify that proposal tally corresponds to the sum of vote weights and proposal VoteState corresponds to the vote choice