pub fn pre_migrate<T: Config, P: GetStorageVersion + PalletInfoAccess, N: AsRef<str>>(
    old_pallet_name: N
)
Expand description

Some checks prior to migration. This can be linked to frame_support::traits::OnRuntimeUpgrade::pre_upgrade for further testing.

Panics if anything goes wrong.