-
Notifications
You must be signed in to change notification settings - Fork 141
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
Reject proposals when they cannot pass #181
Conversation
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.
Looks good. It would be good to have unit tests for checking and documenting the "reject early" case. (already done)
Will backport this to cw-plus at some point.
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.
Here are the unit tests. It seems I was reviewing an outdated version before.
Returning to the upstream version of Need to confirm / check this, but at least in principle you could be contributing / adding these there directly there. |
I can definitely look into this upstream |
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.
Looks great. Thanks for all the tests!
Awesome work! |
Addresses Issue #169
Adds an is_rejected method to both Proposal types which does the same as is_passed however checks no votes for a majority.
Added unit tests for the logic on the Proposal side.
Added integration tests for both a DAO and Multisig.
Feedback appreciated.