Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the migration pallet from mainnet runtime #233

Merged
merged 3 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions runtime/mainnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ std = [
"pallet-dmarket/std",
"pallet-marketplace/std",
"pallet-multibatching/std",
"pallet-migration/std",
"pallet-multisig/std",
"pallet-nfts/std",
"pallet-session/std",
Expand Down Expand Up @@ -178,7 +177,6 @@ runtime-benchmarks = [
"pallet-dmarket/runtime-benchmarks",
"pallet-marketplace/runtime-benchmarks",
"pallet-message-queue/runtime-benchmarks",
"pallet-migration/runtime-benchmarks",
"pallet-multibatching/runtime-benchmarks",
"pallet-multisig/runtime-benchmarks",
"pallet-nfts/runtime-benchmarks",
Expand Down Expand Up @@ -214,7 +212,6 @@ try-runtime = [
"pallet-collator-selection/try-runtime",
"pallet-collective/try-runtime",
"pallet-dmarket/try-runtime",
"pallet-migration/try-runtime",
"pallet-multibatching/try-runtime",
"pallet-multisig/try-runtime",
"pallet-nfts/try-runtime",
Expand Down
18 changes: 2 additions & 16 deletions runtime/mainnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,7 @@ pub type Executive = frame_executive::Executive<
frame_system::ChainContext<Runtime>,
Runtime,
AllPalletsWithSystem,
(
pallet_collator_selection::migration::v2::MigrationToV2<Runtime>,
cumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5<Runtime>,
),
(),
>;

// TODO remove this when the migration is completed
Expand Down Expand Up @@ -234,7 +231,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("mythos"),
impl_name: create_runtime_str!("mythos"),
authoring_version: 1,
spec_version: 1009,
spec_version: 1010,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down Expand Up @@ -711,15 +708,6 @@ impl pallet_dmarket::Config for Runtime {
type BenchmarkHelper = ();
}

impl pallet_migration::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type RuntimeCall = RuntimeCall;
type Currency = Balances;
type WeightInfo = weights::pallet_migration::WeightInfo<Runtime>;
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkHelper = ();
}

impl pallet_myth_proxy::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type RuntimeCall = RuntimeCall;
Expand Down Expand Up @@ -884,7 +872,6 @@ construct_runtime!(
//Other
Proxy: pallet_proxy = 40,
Vesting: pallet_vesting = 41,
Migration: pallet_migration = 42,

Escrow: pallet_escrow = 50,
MythProxy: pallet_myth_proxy = 51,
Expand Down Expand Up @@ -960,7 +947,6 @@ mod benches {
[pallet_collator_selection, CollatorSelection]
[pallet_nfts, Nfts]
[pallet_marketplace, Marketplace]
[pallet_migration, Migration]
[pallet_proxy, Proxy]
[pallet_escrow, Escrow]
[pallet_vesting, Vesting]
Expand Down
1 change: 0 additions & 1 deletion runtime/mainnet/src/weights/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ pub mod pallet_dmarket;
pub mod pallet_escrow;
pub mod pallet_marketplace;
pub mod pallet_message_queue;
pub mod pallet_migration;
pub mod pallet_multibatching;
pub mod pallet_multisig;
pub mod pallet_myth_proxy;
Expand Down
82 changes: 0 additions & 82 deletions runtime/mainnet/src/weights/pallet_migration.rs

This file was deleted.

Loading