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

Define storage migrations required to upgrade from Polkadot 1.1.0 to 1.6.0 #506

Open
gianfra-t opened this issue Oct 24, 2024 · 1 comment

Comments

@gianfra-t
Copy link
Contributor

gianfra-t commented Oct 24, 2024

Context

As part of the master task of updating to Polkadot 1.6.0 (see tasks/#419) we need to identify which migrations need to be defined manually and added to the runtime before performing the upgrade.

Migrations that need to be specified manually are to be defined in the runtime as it was done here, where the migration functions are defined on the corresponding pallet.

Steps

Use the information here regarding storage version management of the pallets.

Ideally, the process should be:

  • For each pallet:
    • Identify the current storage version, in polkadot-v1.1.0.
    • Identify the version that polkadot-v1.6.0 uses.
    • Check if the pallet defines a migration automatically or needs to be specified manually.
    • If it doesn't specify automatically, identify which migration functions must be called.

The migration code should be added to the modifications done for this issue and removed after the upgrade is enacted.

The results can be summarized in a Notion page analogous to this one.

@prayagd
Copy link
Collaborator

prayagd commented Nov 4, 2024

Hey team! Please add your planning poker estimate with Zenhub @b-yap @ebma @gianfra-t @TorstenStueber

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