referrerpolicy=no-referrer-when-downgrade

Function pallet_session::migrations::v1::migrate

source ·
pub fn migrate<T: Config, P: GetStorageVersion + PalletInfoAccess>() -> Weight
Expand description

Migrate the entire storage of this pallet to a new prefix.

This new prefix must be the same as the one set in construct_runtime.

The migration will look into the storage version in order not to trigger a migration on an up to date storage. Thus the on chain storage version must be less than 1 in order to trigger the migration.