Skip to content

Commit

Permalink
also remove migrator pallet
Browse files Browse the repository at this point in the history
  • Loading branch information
joepetrowski committed May 30, 2024
1 parent 3624f68 commit 104a046
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion relay/kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1813,6 +1813,7 @@ pub mod migrations {
pub const StateTrieMigrationName: &'static str = "StateTrieMigration";
pub const ImOnlinePalletName: &'static str = "ImOnline";
pub const IdentityPalletName: &'static str = "Identity";
pub const IdentityMigratorPalletName: &'static str = "IdentityMigrator";
}

/// Upgrade Session keys to exclude `ImOnline` key.
Expand Down Expand Up @@ -1950,11 +1951,15 @@ pub mod migrations {
<Runtime as frame_system::Config>::DbWeight,
>,
CancelAuctions,
// Remove `identity` pallet on-chain storage. `identity-migrator` is stateless.
// Remove `identity` and `identity-migrator`.
frame_support::migrations::RemovePallet<
IdentityPalletName,
<Runtime as frame_system::Config>::DbWeight,
>,
frame_support::migrations::RemovePallet<
IdentityMigratorPalletName,
<Runtime as frame_system::Config>::DbWeight,
>,
);

/// Migrations/checks that do not need to be versioned and can run on every update.
Expand Down

0 comments on commit 104a046

Please sign in to comment.