mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
Add migration for substrate#14084 (#2751)
* v12 migration to seq * Contracts-rococo: Update migration * add v9..v12 migrations * fix * fix * v12 migration to run seq * update lock file for substrate fmt cargo lock update substrate only --------- Co-authored-by: pgherveou <pgherveou@gmail.com>
This commit is contained in:
Generated
+207
-199
File diff suppressed because it is too large
Load Diff
@@ -7,8 +7,10 @@ use frame_support::{
|
|||||||
traits::{ConstBool, ConstU32, Nothing},
|
traits::{ConstBool, ConstU32, Nothing},
|
||||||
};
|
};
|
||||||
use pallet_contracts::{
|
use pallet_contracts::{
|
||||||
weights::SubstrateWeight, Config, DebugInfo, DefaultAddressGenerator, Frame, Schedule,
|
migration::v12, weights::SubstrateWeight, Config, DebugInfo, DefaultAddressGenerator, Frame,
|
||||||
|
Schedule,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub use parachains_common::AVERAGE_ON_INITIALIZE_RATIO;
|
pub use parachains_common::AVERAGE_ON_INITIALIZE_RATIO;
|
||||||
|
|
||||||
// Prints debug output of the `contracts` pallet to stdout if the node is
|
// Prints debug output of the `contracts` pallet to stdout if the node is
|
||||||
@@ -48,5 +50,5 @@ impl Config for Runtime {
|
|||||||
type MaxStorageKeyLen = ConstU32<128>;
|
type MaxStorageKeyLen = ConstU32<128>;
|
||||||
type UnsafeUnstableInterface = ConstBool<true>;
|
type UnsafeUnstableInterface = ConstBool<true>;
|
||||||
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
|
type MaxDebugBufferLen = ConstU32<{ 2 * 1024 * 1024 }>;
|
||||||
type Migrations = ();
|
type Migrations = (v12::Migration<Runtime>,);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -100,6 +100,7 @@ pub type Migrations = (
|
|||||||
cumulus_pallet_dmp_queue::migration::Migration<Runtime>,
|
cumulus_pallet_dmp_queue::migration::Migration<Runtime>,
|
||||||
cumulus_pallet_parachain_system::migration::Migration<Runtime>,
|
cumulus_pallet_parachain_system::migration::Migration<Runtime>,
|
||||||
cumulus_pallet_xcmp_queue::migration::Migration<Runtime>,
|
cumulus_pallet_xcmp_queue::migration::Migration<Runtime>,
|
||||||
|
pallet_contracts::Migration<Runtime>,
|
||||||
);
|
);
|
||||||
|
|
||||||
type EventRecord = frame_system::EventRecord<
|
type EventRecord = frame_system::EventRecord<
|
||||||
|
|||||||
Reference in New Issue
Block a user