mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-17 08:06:07 +00:00
Improve VersionedMigration naming conventions (#2264)
As suggested by @ggwpez (https://github.com/paritytech/polkadot-sdk/pull/2142#discussion_r1388145872), remove the `VersionChecked` prefix from version checked migrations (but leave `VersionUnchecked` prefixes) --------- Co-authored-by: command-bot <>
This commit is contained in:
1 parent
3f0383a5b8
commit
84ddbaf684
7 files changed
+28
-30
No files matched your search
@@ -51,7 +51,7 @@ use sp_std::marker::PhantomData;
|
||||
/// // OnRuntimeUpgrade implementation...
|
||||
/// }
|
||||
///
|
||||
/// pub type VersionCheckedMigrateV5ToV6<T, I> =
|
||||
/// pub type MigrateV5ToV6<T, I> =
|
||||
/// VersionedMigration<
|
||||
/// 5,
|
||||
/// 6,
|
||||
@@ -63,7 +63,7 @@ use sp_std::marker::PhantomData;
|
||||
/// // Migrations tuple to pass to the Executive pallet:
|
||||
/// pub type Migrations = (
|
||||
/// // other migrations...
|
||||
/// VersionCheckedMigrateV5ToV6<T, ()>,
|
||||
/// MigrateV5ToV6<T, ()>,
|
||||
/// // other migrations...
|
||||
/// );
|
||||
/// ```
|
||||
|
||||
Reference in new issue
Block a user