Skip to content
Snippets Groups Projects
Commit 043b7118 authored by Sasha Gryaznov's avatar Sasha Gryaznov Committed by GitHub
Browse files

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: default avatarpgherveou <pgherveou@gmail.com>
parent b1d9ce9f
No related merge requests found
This diff is collapsed.
......@@ -7,8 +7,10 @@ use frame_support::{
traits::{ConstBool, ConstU32, Nothing},
};
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;
// 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 UnsafeUnstableInterface = ConstBool<true>;
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_parachain_system::migration::Migration<Runtime>,
cumulus_pallet_xcmp_queue::migration::Migration<Runtime>,
pallet_contracts::Migration<Runtime>,
);
type EventRecord = frame_system::EventRecord<
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment