Skip to content
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-runtime unit test that executes all the queued proposals #2

Open
kianenigma opened this issue Dec 12, 2022 · 3 comments
Open

try-runtime unit test that executes all the queued proposals #2

kianenigma opened this issue Dec 12, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@kianenigma
Copy link
Collaborator

something similar to paritytech/polkadot#5865, but look into the gov v2 proposals, and make sure the .dispatch of all of them executes fine, followed by try_state.

Inspired by the steps I took to make this proposal: https://kusama.polkassembly.io/referenda/16

@kianenigma
Copy link
Collaborator Author

I am not sure if this makes a lot of sense. Some proposals are complicated and it is good to execute them. Others are really trivial and this seems like an overkill.

@ggwpez
Copy link
Member

ggwpez commented Dec 12, 2022

Hm for some proposals it could be useful.
But this would still suffer from changing call indices and state in the meantime, so it does not give you a guarantee or anything.
This would be the most useful directly in PolkadotJS IMO, when you create the proposal. Later on in the process its difficult to fix anyway.

@kianenigma
Copy link
Collaborator Author

Or better, execute a proposal with a specific ID, and let you know if a set of checks have passed after the proposal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants