-
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
Fix status/execution bugs in flex-multisig #643
Conversation
The failing test exposes the confio/poe-contracts#14 bug: https://app.circleci.com/pipelines/github/CosmWasm/cw-plus/2545/workflows/386501ae-a6f3-4174-a1a2-46ff9ee1d1e9/jobs/57318 Now for the fix... |
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.
Same comments than in confio/poe-contracts#60 apply:
- Why not use
update_status()
in execute (mutable) calls everywhere, and leavecurrent_status()
just for queries?
Perhaps take the opportunity and fix the other issues with state here as well. Or, in a follow-up. Your call.
I don't think there's a point using
Nah, I'd rather see another PR for that. |
I agree. In fact,
I think that will be good, but that it will better to do it in (even) another iteration.
OK. |
Closes #630, ports tests/fixes from https://github.com/confio/poe-contracts.
confio/poe-contracts#12 was not an issue here, but I added a test for it.
confio/poe-contracts#14 is indeed a bug here, fixing in this PR.
confio/poe-contracts#16 was a false alarm in the first place.