pub type VersionCheckedMigrateToV2<T, I, PastPayouts> = VersionedRuntimeUpgrade<0, 2, VersionUncheckedMigrateToV2<T, I, PastPayouts>, Pallet<T, I>, <T as Config>::DbWeight>;
Expand description

VersionUncheckedMigrateToV2 wrapped in a frame_support::migrations::VersionedRuntimeUpgrade, ensuring the migration is only performed when on-chain version is 0.