diff --git a/polkadot/runtime/kusama/src/lib.rs b/polkadot/runtime/kusama/src/lib.rs index 88d6b613f92f7b93807da35990686bbc0e29c7a1..c6e3bac29a2f79fe982eeb993fd9c333bae2a939 100644 --- a/polkadot/runtime/kusama/src/lib.rs +++ b/polkadot/runtime/kusama/src/lib.rs @@ -1532,8 +1532,10 @@ pub mod migrations { ); /// Unreleased migrations. Add new ones here: - pub type Unreleased = - (pallet_society::migrations::MigrateToV2<Runtime, (), past_payouts::PastPayouts>,); + pub type Unreleased = ( + pallet_society::migrations::MigrateToV2<Runtime, (), past_payouts::PastPayouts>, + pallet_im_online::migration::v1::Migration<Runtime>, + ); /// Migrations that set `StorageVersion`s we missed to set. pub struct SetStorageVersions; diff --git a/polkadot/runtime/parachains/src/configuration/migration_ump.rs b/polkadot/runtime/parachains/src/configuration/migration_ump.rs index c46f25108fa3cc482527452db01b26b62bf66cd7..008a93142ee7a616c7fa3d2b36b543350a853d85 100644 --- a/polkadot/runtime/parachains/src/configuration/migration_ump.rs +++ b/polkadot/runtime/parachains/src/configuration/migration_ump.rs @@ -107,18 +107,12 @@ pub mod latest { "There must be exactly one new pending upgrade enqueued" ); if let Err(err) = last.1.check_consistency() { - log::error!( - target: LOG_TARGET, - "Last PendingConfig is invalidity {:?}", err, - ); + log::error!(target: LOG_TARGET, "Last PendingConfig is invalidity {:?}", err,); return Err("Pending upgrade must be sane but was not".into()) } if let Err(err) = ActiveConfig::<T>::get().check_consistency() { - log::error!( - target: LOG_TARGET, - "ActiveConfig is invalid: {:?}", err, - ); + log::error!(target: LOG_TARGET, "ActiveConfig is invalid: {:?}", err,); return Err("Active upgrade must be sane but was not".into()) } diff --git a/polkadot/runtime/polkadot/src/lib.rs b/polkadot/runtime/polkadot/src/lib.rs index 3ebccf5a94f44730a3b3767733431e7d678b3c20..0cdc6785e7462fb5f524257d1fb6bf1ed362e89b 100644 --- a/polkadot/runtime/polkadot/src/lib.rs +++ b/polkadot/runtime/polkadot/src/lib.rs @@ -1522,7 +1522,7 @@ pub mod migrations { ); /// Unreleased migrations. Add new ones here: - pub type Unreleased = (); + pub type Unreleased = (pallet_im_online::migration::v1::Migration<Runtime>,); /// Migrations that set `StorageVersion`s we missed to set. pub struct SetStorageVersions; diff --git a/polkadot/runtime/rococo/src/lib.rs b/polkadot/runtime/rococo/src/lib.rs index 68528fa8e7d3bcc37c0bae585781fb728e701ab2..833a1bdf4dec986bb9e073dcfb8c0ca2a950fac2 100644 --- a/polkadot/runtime/rococo/src/lib.rs +++ b/polkadot/runtime/rococo/src/lib.rs @@ -1623,7 +1623,10 @@ pub mod migrations { } /// Unreleased migrations. Add new ones here: - pub type Unreleased = (pallet_society::migrations::MigrateToV2<Runtime, (), ()>,); + pub type Unreleased = ( + pallet_society::migrations::MigrateToV2<Runtime, (), ()>, + pallet_im_online::migration::v1::Migration<Runtime>, + ); } /// Helpers to configure all migrations. diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index eb1d25e3701426f10c7f0ad88e98989e170c9fc4..411f21f138416c6df34ef36d0b2f873fa483ce70 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/runtime/westend/src/lib.rs @@ -1323,7 +1323,7 @@ pub mod migrations { } /// Unreleased migrations. Add new ones here: - pub type Unreleased = (); + pub type Unreleased = (pallet_im_online::migration::v1::Migration<Runtime>,); } /// Helpers to configure all migrations.