From fc05ba91be1c0cc21ab230b92a58880e0607a741 Mon Sep 17 00:00:00 2001 From: Ayush Kumar Mishra Date: Mon, 6 Jan 2025 18:10:14 +0530 Subject: [PATCH] refactoring --- runtime/cere-dev/src/lib.rs | 7 ++----- runtime/cere/src/lib.rs | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/runtime/cere-dev/src/lib.rs b/runtime/cere-dev/src/lib.rs index 02f5d4833..cb1d9c900 100644 --- a/runtime/cere-dev/src/lib.rs +++ b/runtime/cere-dev/src/lib.rs @@ -910,7 +910,7 @@ impl pallet_contracts::Config for Runtime { type InstantiateOrigin = EnsureSigned; type Debug = (); type Environment = (); - type Migrations = (pallet_contracts::migration::v16::Migration,); + type Migrations = (); type ApiVersion = (); type Xcm = (); } @@ -1434,10 +1434,7 @@ pub type SignedPayload = generic::SignedPayload; pub type CheckedExtrinsic = generic::CheckedExtrinsic; /// Runtime migrations -type Migrations = ( - pallet_staking::migrations::v15::MigrateV14ToV15, - pallet_contracts::Migration, -); +type Migrations = (); /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< diff --git a/runtime/cere/src/lib.rs b/runtime/cere/src/lib.rs index fc682d3d6..93006fc65 100644 --- a/runtime/cere/src/lib.rs +++ b/runtime/cere/src/lib.rs @@ -929,7 +929,7 @@ impl pallet_contracts::Config for Runtime { type InstantiateOrigin = EnsureSigned; type Debug = (); type Environment = (); - type Migrations = (pallet_contracts::migration::v16::Migration,); + type Migrations = (); type ApiVersion = (); type Xcm = (); } @@ -1470,10 +1470,7 @@ pub type CheckedExtrinsic = generic::CheckedExtrinsic, - pallet_contracts::Migration, -); +type Migrations = (); pub mod migrations { use super::*;