Fix para-scheduler migration on Rococo (#1921)
Closes https://github.com/paritytech/polkadot-sdk/issues/1916 Changes: - Trivially wrap the migration into a version migration to enforce idempotency. - Opinionated logging nits @liamaharon maybe we can add a check to the `try-runtime-cli` that migrations are idempotent? It should be possible to check that the storage root is identical after executing a second time (and that it does not panic like it did here). --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by:
Liam Aharon <liam.aharon@hotmail.com> Co-authored-by:
Francisco Aguirre <franciscoaguirreperez@gmail.com>
Showing
- polkadot/runtime/parachains/src/scheduler/migration.rs 19 additions, 17 deletionspolkadot/runtime/parachains/src/scheduler/migration.rs
- prdoc/pr_1921.prdoc 19 additions, 0 deletionsprdoc/pr_1921.prdoc
- substrate/frame/support/src/migrations.rs 3 additions, 2 deletionssubstrate/frame/support/src/migrations.rs
prdoc/pr_1921.prdoc
0 → 100644
Please register or sign in to comment