-
Notifications
You must be signed in to change notification settings - Fork 747
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
Try State Hook for Ranked Collective #3007
Try State Hook for Ranked Collective #3007
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.
Thanks for working on this!
Great start, but has a few more invariants to go.
…' into dami/try-state-ranked-collective
…to dami/try-state-ranked-collective � Conflicts: � substrate/frame/ranked-collective/src/lib.rs
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.
I cannot be sure that all invariants are correctly captured here, but otherwise it is a good textbook example of hwat needs to be done.
Can you check a possible invariant as with #3156 (comment)? If there are a list of members being shared.
Lastly, can you provide your DOT/KSM Address for a tip?
I have provided my Polkadot address in the PR description @kianenigma |
/tip medium |
@kianenigma A referendum for a medium (80 DOT) tip was successfully submitted for @dharjeezy (12GyGD3QhT4i2JJpNzvMf96sxxBLWymz4RdGCxRH5Rj5agKW on polkadot). https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.polkadot.io#/referenda |
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 close, but not capturing all invariants I would consider important to check. Remember, we want to ensure all the state across all storage items is consistent. If you have any questions about my comments feel free to ask.
…me as the `Rank` of the member `who` in `Members`
… of all the index attained for rank possessed by `Members`
…' into dami/try-state-ranked-collective
@dharjeezy can you take a look at the failing ci? |
…' into dami/try-state-ranked-collective
The CI pipeline was cancelled due to failure one of the required jobs. |
9cd02a0
Part of: paritytech#239 Polkadot address: 12GyGD3QhT4i2JJpNzvMf96sxxBLWymz4RdGCxRH5Rj5agKW --------- Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
Part of: #239
Polkadot address: 12GyGD3QhT4i2JJpNzvMf96sxxBLWymz4RdGCxRH5Rj5agKW