Function pallet_bounties::migrations::v4::pre_migration
source · pub fn pre_migration<T: Config, P: GetStorageVersion + 'static, 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.