From 253778c94dd64e6bc174ed1e03ac7e0b43990129 Mon Sep 17 00:00:00 2001 From: Liam Aharon <liam.aharon@hotmail.com> Date: Mon, 22 Apr 2024 15:08:38 +1000 Subject: [PATCH] ci: disallow westend migration failure (#4205) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bastian Köcher <git@kchr.de> --- .gitlab/pipeline/check.yml | 1 - polkadot/runtime/westend/src/lib.rs | 30 +---------------------------- 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/.gitlab/pipeline/check.yml b/.gitlab/pipeline/check.yml index 89b2c00db9b..6fb8a97fe95 100644 --- a/.gitlab/pipeline/check.yml +++ b/.gitlab/pipeline/check.yml @@ -132,7 +132,6 @@ check-runtime-migration-westend: WASM: "westend_runtime.compact.compressed.wasm" URI: "wss://westend-try-runtime-node.parity-chains.parity.io:443" SUBCOMMAND_EXTRA_ARGS: "--no-weight-warnings" - allow_failure: true check-runtime-migration-rococo: stage: check diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index a06a1e1f7fc..02933efff94 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/runtime/westend/src/lib.rs @@ -1646,36 +1646,8 @@ pub mod migrations { } } - // We don't have a limit in the Relay Chain. - const IDENTITY_MIGRATION_KEY_LIMIT: u64 = u64::MAX; - /// Unreleased migrations. Add new ones here: - pub type Unreleased = ( - parachains_configuration::migration::v7::MigrateToV7<Runtime>, - pallet_staking::migrations::v14::MigrateToV14<Runtime>, - assigned_slots::migration::v1::MigrateToV1<Runtime>, - parachains_scheduler::migration::MigrateV1ToV2<Runtime>, - parachains_configuration::migration::v8::MigrateToV8<Runtime>, - parachains_configuration::migration::v9::MigrateToV9<Runtime>, - paras_registrar::migration::MigrateToV1<Runtime, ()>, - pallet_referenda::migration::v1::MigrateV0ToV1<Runtime, ()>, - pallet_grandpa::migrations::MigrateV4ToV5<Runtime>, - parachains_configuration::migration::v10::MigrateToV10<Runtime>, - pallet_nomination_pools::migration::unversioned::TotalValueLockedSync<Runtime>, - // Migrate Identity pallet for Usernames - pallet_identity::migration::versioned::V0ToV1<Runtime, IDENTITY_MIGRATION_KEY_LIMIT>, - parachains_configuration::migration::v11::MigrateToV11<Runtime>, - parachains_configuration::migration::v12::MigrateToV12<Runtime>, - // permanent - pallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>, - // Migrate from legacy lease to coretime. Needs to run after configuration v11 - coretime::migration::MigrateToCoretime< - Runtime, - crate::xcm_config::XcmRouter, - GetLegacyLeaseImpl, - >, - parachains_inclusion::migration::MigrateToV1<Runtime>, - ); + pub type Unreleased = (); } /// Unchecked extrinsic type as expected by this runtime. -- GitLab