Expand description
Version 5.
Functions§
- migrate
- Migrate the locks and vote stake on accounts (as specified with param
to_migrate
) that have more than their free balance locked. - post_
migrate - Some checks for after migration. This can be linked to
frame_support::traits::OnRuntimeUpgrade::post_upgrade
for further testing. - pre_
migrate_ fn - 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.