Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmishra2005 committed Jan 6, 2025
1 parent e790e38 commit fc05ba9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 2 additions & 5 deletions runtime/cere-dev/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ impl pallet_contracts::Config for Runtime {
type InstantiateOrigin = EnsureSigned<Self::AccountId>;
type Debug = ();
type Environment = ();
type Migrations = (pallet_contracts::migration::v16::Migration<Runtime>,);
type Migrations = ();
type ApiVersion = ();
type Xcm = ();
}
Expand Down Expand Up @@ -1434,10 +1434,7 @@ pub type SignedPayload = generic::SignedPayload<RuntimeCall, SignedExtra>;
pub type CheckedExtrinsic = generic::CheckedExtrinsic<AccountId, RuntimeCall, SignedExtra>;

/// Runtime migrations
type Migrations = (
pallet_staking::migrations::v15::MigrateV14ToV15<Runtime>,
pallet_contracts::Migration<Runtime>,
);
type Migrations = ();

/// Executive: handles dispatch to the various modules.
pub type Executive = frame_executive::Executive<
Expand Down
7 changes: 2 additions & 5 deletions runtime/cere/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ impl pallet_contracts::Config for Runtime {
type InstantiateOrigin = EnsureSigned<Self::AccountId>;
type Debug = ();
type Environment = ();
type Migrations = (pallet_contracts::migration::v16::Migration<Runtime>,);
type Migrations = ();
type ApiVersion = ();
type Xcm = ();
}
Expand Down Expand Up @@ -1470,10 +1470,7 @@ pub type CheckedExtrinsic = generic::CheckedExtrinsic<AccountId, RuntimeCall, Si

// // Migrations for DAC and Payouts on QANET
// );
type Migrations = (
pallet_staking::migrations::v15::MigrateV14ToV15<Runtime>,
pallet_contracts::Migration<Runtime>,
);
type Migrations = ();

pub mod migrations {
use super::*;
Expand Down

0 comments on commit fc05ba9

Please sign in to comment.