Function pallet_membership::migrations::v4::pre_migrate
source · pub fn pre_migrate<P: GetStorageVersion, N: AsRef<str>>(
old_pallet_name: N,
new_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.