pub fn pre_migrate<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.