Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Add migration for substrate#14084 #2751

Merged
merged 12 commits into from
Jul 3, 2023
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ use frame_support::{
use pallet_contracts::{
weights::SubstrateWeight, Config, DebugInfo, DefaultAddressGenerator, Frame, Schedule,
};
use pallet_contracts::migration::v12;

pub use parachains_common::AVERAGE_ON_INITIALIZE_RATIO;

// Prints debug output of the `contracts` pallet to stdout if the node is
Expand Down Expand Up @@ -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>,);
}