Remove all stale on_runtime_upgrade hooks in the runtime (#10650)

* Remove all stale on_runtime_upgrade hooks in the runtime

* add docs

* cleanup

* fix warn

* fix more warnings

* fix offence test

* overwrite the damn UItest
This commit is contained in:
Kian Paimani authored and GitHub committed 2022-01-19 20:58:47 +01:00
1 parent c8c46fea96
commit 1344e43d2d
11 files changed
+28 -80

No files matched your search

@@ -25,6 +25,7 @@ use frame_support::{
};
use sp_std::{marker::PhantomData, prelude::*};
/// Wrapper for all migrations of this pallet, based on `StorageVersion`.
pub fn migrate<T: Config>() -> Weight {
use frame_support::traits::StorageVersion;