referrerpolicy=no-referrer-when-downgrade

Function pallet_elections_phragmen::migrations::v4::pre_migration

source ·
pub fn pre_migration<T: Config, N: AsRef<str>>(new: 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.