Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Deploy scheduler agenda cleanup migration #6465

Merged
merged 7 commits into from
Jan 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions runtime/kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
Expand All @@ -1488,6 +1491,7 @@ pub type Migrations = (
Runtime,
governance::FellowshipReferendaInstance,
>,
pallet_scheduler::migration::v4::CleanupAgendas<Runtime>,
);

/// Unchecked extrinsic type as expected by this runtime.
Expand Down
4 changes: 4 additions & 0 deletions runtime/polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions runtime/rococo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions runtime/westend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down