Deploy scheduler agenda cleanup migration (#6465)

* Add migration

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Add comments

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2023-01-03 22:08:27 +01:00
committed by GitHub
parent 01fcc27465
commit 06dae877ed
4 changed files with 16 additions and 0 deletions
+4
View File
@@ -1480,6 +1480,9 @@ impl Get<&'static str> for StakingMigrationV11OldPallet {
}
}
/// All migrations that will run on the next runtime upgrade.
///
/// Should be cleared after every release.
pub type Migrations = (
pallet_balances::migration::MigrateToTrackInactive<Runtime, CheckAccount>,
crowdloan::migration::MigrateToTrackInactive<Runtime>,
@@ -1488,6 +1491,7 @@ pub type Migrations = (
Runtime,
governance::FellowshipReferendaInstance,
>,
pallet_scheduler::migration::v4::CleanupAgendas<Runtime>,
);
/// Unchecked extrinsic type as expected by this runtime.
+4
View File
@@ -1597,9 +1597,13 @@ impl Get<&'static str> for StakingMigrationV11OldPallet {
}
}
/// All migrations that will run on the next runtime upgrade.
///
/// Should be cleared after every release.
pub type Migrations = (
pallet_balances::migration::MigrateToTrackInactive<Runtime, xcm_config::CheckAccount>,
crowdloan::migration::MigrateToTrackInactive<Runtime>,
pallet_scheduler::migration::v4::CleanupAgendas<Runtime>,
);
/// Unchecked extrinsic type as expected by this runtime.
+4
View File
@@ -1477,9 +1477,13 @@ pub type SignedExtra = (
pub type UncheckedExtrinsic =
generic::UncheckedExtrinsic<Address, RuntimeCall, Signature, SignedExtra>;
/// All migrations that will run on the next runtime upgrade.
///
/// Should be cleared after every release.
pub type Migrations = (
pallet_balances::migration::MigrateToTrackInactive<Runtime, xcm_config::CheckAccount>,
crowdloan::migration::MigrateToTrackInactive<Runtime>,
pallet_scheduler::migration::v4::CleanupAgendas<Runtime>,
);
/// Executive: handles dispatch to the various modules.
+4
View File
@@ -1211,9 +1211,13 @@ impl Get<&'static str> for StakingMigrationV11OldPallet {
}
}
/// All migrations that will run on the next runtime upgrade.
///
/// Should be cleared after every release.
pub type Migrations = (
pallet_balances::migration::MigrateToTrackInactive<Runtime, xcm_config::CheckAccount>,
crowdloan::migration::MigrateToTrackInactive<Runtime>,
pallet_scheduler::migration::v4::CleanupAgendas<Runtime>,
);
/// Unchecked extrinsic type as expected by this runtime.