Module pallet_elections_phragmen::migrations::v5
source · Expand description
Version 5.
Functions
Migrate the locks and vote stake on accounts (as specified with param
to_migrate
) that have
more than their free balance locked.Some checks for after migration. This can be linked to
frame_support::traits::OnRuntimeUpgrade::post_upgrade
for further testing.Given the list of voters to migrate return a function that does some checks and information
prior to migration. This can be linked to [
frame_support::traits::OnRuntimeUpgrade:: pre_upgrade
] for further testing.