mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 05:11:02 +00:00
Rename VersionedRuntimeUpgrade to VersionedMigration (#1187)
* rename VersionedRuntimeUpgrade to VersionedMigration * doc lint * rename test filename --------- Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
@@ -63,10 +63,10 @@ pub mod v1 {
|
||||
|
||||
/// Version checked migration to v1.
|
||||
///
|
||||
/// Wrapped in VersionedRuntimeUpgrade so the pre/post checks don't begin failing after the
|
||||
/// upgrade is enacted on-chain.
|
||||
/// Wrapped in [`frame_support::migrations::VersionedMigration`] so the pre/post checks don't
|
||||
/// begin failing after the upgrade is enacted on-chain.
|
||||
#[cfg(feature = "experimental")]
|
||||
pub type VersionCheckedMigrateToV1<T> = frame_support::migrations::VersionedRuntimeUpgrade<
|
||||
pub type VersionCheckedMigrateToV1<T> = frame_support::migrations::VersionedMigration<
|
||||
0,
|
||||
1,
|
||||
VersionUncheckedMigrateToV1<T>,
|
||||
|
||||
Reference in New Issue
Block a user