Contracts rename v9 to v09 (#14533)

This commit is contained in:
PG Herveou
2023-07-12 10:33:22 +02:00
committed by GitHub
parent ca5970e582
commit 1818bb130e
4 changed files with 12 additions and 12 deletions
+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;
}