Contracts rename v9 to v09 (#14533)

This commit is contained in:
PG Herveou authored and GitHub committed 2023-07-12 08:33:22 +00:00
1 parent ca5970e582
commit 1818bb130e
4 files changed
+12 -12

No files matched your search

+4 -4
View File
@@ -325,16 +325,16 @@ pub mod pallet {
///
/// # Examples
/// ```
/// use pallet_contracts::migration::{v9, v10, v11};
/// use pallet_contracts::migration::{v10, v11};
/// # struct Runtime {};
/// type Migrations = (v9::Migration<Runtime>, v10::Migration<Runtime>, v11::Migration<Runtime>);
/// type Migrations = (v10::Migration<Runtime>, v11::Migration<Runtime>);
/// ```
///
/// If you have a single migration step, you can use a tuple with a single element:
/// ```
/// use pallet_contracts::migration::v9;
/// use pallet_contracts::migration::v10;
/// # struct Runtime {};
/// type Migrations = (v9::Migration<Runtime>,);
/// type Migrations = (v10::Migration<Runtime>,);
/// ```
type Migrations: MigrateSequence;
}