Module pallet_elections_phragmen::source ·
- 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_upgradefor 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.