Contracts: Use RuntimeUpgrade hooks instead of Hooks::on_runtime_upgrade (#2570)
* Fixes * Remove on_runtime_upgrade hook * remove upgrade_fn / add doc to Migration struct * Add cumulus_pallet_*::migration to Migrations type * add docstring * fix * Update parachain-template/runtime/src/lib.rs Co-authored-by:Bastian Köcher <git@kchr.de> * Update parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs * Update pallets/parachain-system/src/migration.rs --------- Co-authored-by:
Bastian Köcher <git@kchr.de>
Showing
- cumulus/pallets/dmp-queue/src/lib.rs 0 additions, 4 deletionscumulus/pallets/dmp-queue/src/lib.rs
- cumulus/pallets/dmp-queue/src/migration.rs 20 additions, 17 deletionscumulus/pallets/dmp-queue/src/migration.rs
- cumulus/pallets/parachain-system/src/lib.rs 1 addition, 5 deletionscumulus/pallets/parachain-system/src/lib.rs
- cumulus/pallets/parachain-system/src/migration.rs 22 additions, 17 deletionscumulus/pallets/parachain-system/src/migration.rs
- cumulus/pallets/xcmp-queue/src/lib.rs 0 additions, 4 deletionscumulus/pallets/xcmp-queue/src/lib.rs
- cumulus/pallets/xcmp-queue/src/migration.rs 20 additions, 17 deletionscumulus/pallets/xcmp-queue/src/migration.rs
- cumulus/parachains/runtimes/contracts/contracts-rococo/Cargo.toml 1 addition, 0 deletions...parachains/runtimes/contracts/contracts-rococo/Cargo.toml
- cumulus/parachains/runtimes/contracts/contracts-rococo/src/lib.rs 7 additions, 0 deletions...parachains/runtimes/contracts/contracts-rococo/src/lib.rs
- cumulus/parachains/runtimes/contracts/contracts-rococo/src/xcm_config.rs 1 addition, 0 deletions...ins/runtimes/contracts/contracts-rococo/src/xcm_config.rs
Please register or sign in to comment