-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Conversation
@ggwpez Could you please review this? |
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.
Generally looks good.
There are probably more things that can be checked - will take a closer look tomorrow.
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
@ggwpez Added two more checks. Please let me know if you come up with some more things that can be checked. |
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.
Looking good! Added some ideas for additional variants to check.
@ggwpez @kianenigma If all good could you approve? 🙇 |
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.
Still dont know if we should use ensure
or assert
😆
Yes, that remains a mystery 🤣 |
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.
Prior to merging, I'd like some evidence that the given expectations actually pass against the current state of Polkadot, Kusama, and Westend. Can you check that?
Yes, I will check that. |
@kianenigma I have run the try-state against the Polkadot state. AFAIK Kusama and Westend don't use the pallet_collective in their runtime. |
Why? it is crystal clear to me :D @Szegoo @liamaharon any of you fancy it? |
@Szegoo you have first dibs, otherwise I can pick it up next week :) |
I will happily take it :) |
This was used to found a bug, initiating a tip: |
/tip medium |
@kianenigma A medium tip was successfully submitted for Szegoo (DfqY6XQUSETTszBQ1juocTcG9iiDoXhvq1CoVadBSUqTGJS on kusama). https://polkadot.js.org/apps/?rpc=wss%3A%2F%kusama-rpc.polkadot.io#/treasury/tips |
@kianenigma Is tipping on Kusama still used with the introduction of Open Gov? Seems like the tipping value over here on Kusama is so far 0 KSM 😅 |
OpenGov support in tip-bot is WIP still testing on staging, soon will be released. Please use polkadot for now |
@mordamax Yeah, I usually use Polkadot, but in my Github profile description my Kusama address was written(if I recall correctly this was put here because of the fellowship) and Kian just pasted my address from there. I've updated my GitHub profile description now, so this shouldn't happen in the future again. |
/tip medium |
@mordamax A medium tip was successfully submitted for Szegoo (126X27SbhrV19mBFawys3ovkyBS87SGfYwtwa8J2FjHrtbmA on polkadot). https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.polkadot.io#/treasury/tips |
Hey everyone, the OpenGov support in the Tip Bot is now deployed to production. |
* write the try_state_ function * update tests * update check * fix benchmarking * fix nonsense * Update frame/collective/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update frame/collective/src/lib.rs Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * unique proposal index * prime must be a member of the collective * oops * Add new checks * use ensure * fix --------- Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This PR writes expectations for the collective pallet storage that must always apply.
Part of: paritytech/polkadot-sdk#239
Polkadot address: 126X27SbhrV19mBFawys3ovkyBS87SGfYwtwa8J2FjHrtbmA