LegacyToV1Migration

Type Alias LegacyToV1Migration 

Source
pub type LegacyToV1Migration<T, const SLOT_DURATION_MILLIS: u64> = VersionedMigration<0, 1, InnerMigrateV0ToV1<T, SLOT_DURATION_MILLIS>, Pallet<T>, <T as Config>::DbWeight>;
Expand description

Storage migration for chains using the slot-based legacy version of the pallet.

This migration sets the value in [EpochDurationMillis] based on the contents of [SlotsPerEpoch] and slot duration.

Aliased Typeยง

pub struct LegacyToV1Migration<T, const SLOT_DURATION_MILLIS: u64> { /* private fields */ }