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

Add storage migrations for substrate 0.9.38 #262

Closed
vovac12 opened this issue Feb 8, 2023 · 1 comment
Closed

Add storage migrations for substrate 0.9.38 #262

vovac12 opened this issue Feb 8, 2023 · 1 comment
Assignees

Comments

@vovac12
Copy link
Contributor

vovac12 commented Feb 8, 2023

We need to find all needed storage migrations from 0.9.25 to 0.9.31 and add it

@vovac12 vovac12 self-assigned this Feb 16, 2023
@vovac12
Copy link
Contributor Author

vovac12 commented Feb 28, 2023

Important notes from paritytech/substrate#11649

There is migration code which moves existing proposals and referenda over to the new format. However IT DOES NOT MIGRATE EVERYTHING:

  • Preimages are NOT migrated. Any registered preimages in Democracy at the time of migration are dropped. Their balance is NOT UNRESERVED.
  • The re-dispatcher used in the old Democracy implementation is removed. Any proposals scheduled for dispatch by Democracy WILL NOT EXECUTE.

This means you SHOULD ensure that:

  • the preimage for the runtime upgrade is placed as an imminent preimage, not with a deposit;
  • no other preimages are in place at the time of upgrade;
  • there are no other proposals scheduled for dispatch by Democracy at the time of upgrade.

The Democracy pallet will be marked as deprecated immediately once Referenda is considered production-ready. ALL TEAMS ARE RECOMMENDED TO SWITCH SWAY FROM DEMOCRACY PALLET TO REFERENDA/CONVICTION-VOTING PALLETS ASAP

@vovac12 vovac12 changed the title Add storage migrations for substrate 0.9.31 Add storage migrations for substrate 0.9.38 Mar 24, 2023
@ra9mls ra9mls closed this as completed May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants