mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
Contracts rename v9 to v09 (#14533)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user