-
Notifications
You must be signed in to change notification settings - Fork 355
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
Separate multisig from group #150
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.
This is pretty good. I am amazed at how using the right abstractions simplifies the code and increases readability.
I was expecting cross-contract queries to be much more of an issue. This is as clear a build-up on top of fixed-multisig as possible.
Will review the tests later, and add single comments in any case.
Co-authored-by: Mauro Lacy <maurolacy@users.noreply.github.com>
7f51929
to
cd51d9c
Compare
I think I have addressed all outstanding issues. Just waiting for a review of the test code to merge this. |
Nice translation of all the tests! |
Closes #80
This no longer stores the members locally (in contract), but uses raw queries to read them from an associated group.
The code changes were relatively small. The tests must be completely re-written to use multi-test. Notably, this was even a couple lines of code shorter after the refactor. And that using multiple contracts in a much more complicated test harness.
In the end, this works the same as the
cw3-fixed-multisig
, but opens the door for all the other mutlisig ticketsThe first two commits are quite huge and just make a clone of cw3-fixed-multisig as a new contract. To review, you can just check all commits after the first two, and make sure to expand
contract.rs
, which is where most of the changes are: https://github.com/CosmWasm/cosmwasm-plus/pull/150/files/2a70c8baea7dfe534f136cff1bfa20b3485128fa..HEAD