add pallet_im_online::migration to Unreleased migrations (#7387)

* add pallet_im_online::migration to Unreleased migrations

refs https://github.com/paritytech/polkadot/pull/7309#issuecomment-1593030554

* ".git/.scripts/commands/fmt/fmt.sh"

---------

Co-authored-by: command-bot <>
This commit is contained in:
Antonandcommand-bot authored and GitHub committed 2023-06-26 00:19:55 +02:00
1 parent 35413b4657
commit 982a6847ae
5 files changed
+12 -13

No files matched your search

@@ -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())
}