From 6dcd5bcd20c8bc19cbd51d960ff1f2de5e2c65c4 Mon Sep 17 00:00:00 2001 From: Maksim Ramanenkau Date: Fri, 26 Apr 2024 15:44:02 +0300 Subject: [PATCH] Remove migration to v8 since it's already executed --- runtime/cere-dev/src/lib.rs | 8 -------- runtime/cere/src/lib.rs | 8 -------- 2 files changed, 16 deletions(-) diff --git a/runtime/cere-dev/src/lib.rs b/runtime/cere-dev/src/lib.rs index 921dc7a5a..288c2a84d 100644 --- a/runtime/cere-dev/src/lib.rs +++ b/runtime/cere-dev/src/lib.rs @@ -1441,13 +1441,6 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { } } -pub struct MigrateStakingPalletToV8; -impl OnRuntimeUpgrade for MigrateStakingPalletToV8 { - fn on_runtime_upgrade() -> Weight { - pallet_staking::migrations::v8::migrate::() - } -} - /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; @@ -1477,7 +1470,6 @@ parameter_types! { /// Runtime migrations type Migrations = ( - MigrateStakingPalletToV8, pallet_staking::migrations::v9::InjectValidatorsIntoVoterList, pallet_staking::migrations::v10::MigrateToV10, pallet_staking::migrations::v11::MigrateToV11, diff --git a/runtime/cere/src/lib.rs b/runtime/cere/src/lib.rs index 7aca5e39d..f8f0b2fec 100644 --- a/runtime/cere/src/lib.rs +++ b/runtime/cere/src/lib.rs @@ -1446,13 +1446,6 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { } } -pub struct MigrateStakingPalletToV8; -impl OnRuntimeUpgrade for MigrateStakingPalletToV8 { - fn on_runtime_upgrade() -> Weight { - pallet_staking::migrations::v8::migrate::() - } -} - // We don't need to run pallet_balances::pallets::MigrateToTrackInactive or // pallet_balances::pallets::MigrateManyToTrackInactive since XCM related only. // MigrateToTrackInactive and MigrateManyToTrackInactive simply add CheckingAccount value to @@ -1483,7 +1476,6 @@ parameter_types! { /// Runtime migrations type Migrations = ( - MigrateStakingPalletToV8, pallet_staking::migrations::v9::InjectValidatorsIntoVoterList, pallet_staking::migrations::v10::MigrateToV10, pallet_staking::migrations::v11::MigrateToV11,