Module pallet_session::migrations::v1
source ยท Expand description
Version 1.
In version 0 session historical pallet uses Session
for storage module prefix.
In version 1 it uses its name as configured in construct_runtime
.
This migration moves session historical pallet storages from old prefix to new prefix.
Constantsยง
- LOG_TARGET ๐
- OLD_PREFIX ๐
Functionsยง
- log_migration ๐
- Migrate the entire storage of this pallet to a new prefix.
- Some checks for after migration. This can be linked to
frame_support::traits::OnRuntimeUpgrade::post_upgrade
for further testing. - Some checks prior to migration. This can be linked to
frame_support::traits::OnRuntimeUpgrade::pre_upgrade
for further testing.