Skip to content

Commit

Permalink
Merge pull request #246 from paritytech/fix/muse-remove-p-migration
Browse files Browse the repository at this point in the history
Remove pallet-migration from Muse testnet
  • Loading branch information
valentinfernandez1 authored Oct 30, 2024
2 parents 733e411 + a3e1e3e commit 8a47186
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 125 deletions.
24 changes: 0 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ testnet-runtime = { path = "runtime/testnet" }
mainnet-runtime = { path = "runtime/mainnet" }
pallet-dmarket = { path = "pallets/dmarket", default-features = false }
pallet-marketplace = { path = "pallets/marketplace", default-features = false }
pallet-migration = { path = "pallets/migration", default-features = false }
pallet-multibatching = { path = "pallets/multibatching", default-features = false }
runtime-common = { path = "runtime/common", default-features = false }
pallet-escrow = { path = "pallets/escrow", default-features = false }
Expand Down
1 change: 0 additions & 1 deletion runtime/mainnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ smallvec = { workspace = true }
runtime-common = { workspace = true, default-features = false }
pallet-dmarket = { workspace = true, default-features = false }
pallet-marketplace = { workspace = true, default-features = false }
pallet-migration = { workspace = true, default-features = false }
xcm-primitives = { path = "../../primitives/xcm", default-features = false }
pallet-escrow = {workspace = true, default-features = false}

Expand Down
4 changes: 0 additions & 4 deletions runtime/testnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ smallvec = { workspace = true }
runtime-common = { workspace = true, default-features = false }
pallet-dmarket = { workspace = true, default-features = false }
pallet-marketplace = { workspace = true, default-features = false }
pallet-migration = { workspace = true, default-features = false }
pallet-multibatching = { workspace = true, default-features = false }
xcm-primitives = { path = "../../primitives/xcm", default-features = false }
pallet-escrow = { workspace = true, default-features = false }
Expand Down Expand Up @@ -124,7 +123,6 @@ std = [
"pallet-dmarket/std",
"pallet-multibatching/std",
"pallet-marketplace/std",
"pallet-migration/std",
"pallet-multisig/std",
"pallet-nfts/std",
"pallet-session/std",
Expand Down Expand Up @@ -175,7 +173,6 @@ runtime-benchmarks = [
"pallet-message-queue/runtime-benchmarks",
"pallet-dmarket/runtime-benchmarks",
"pallet-marketplace/runtime-benchmarks",
"pallet-migration/runtime-benchmarks",
"pallet-multisig/runtime-benchmarks",
"pallet-multibatching/runtime-benchmarks",
"pallet-nfts/runtime-benchmarks",
Expand Down Expand Up @@ -212,7 +209,6 @@ try-runtime = [
"pallet-dmarket/try-runtime",
"pallet-multibatching/try-runtime",
"pallet-marketplace/try-runtime",
"pallet-migration/try-runtime",
"pallet-multisig/try-runtime",
"pallet-nfts/try-runtime",
"pallet-session/try-runtime",
Expand Down
13 changes: 1 addition & 12 deletions runtime/testnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("muse"),
impl_name: create_runtime_str!("muse"),
authoring_version: 1,
spec_version: 1018,
spec_version: 1019,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down Expand Up @@ -695,15 +695,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 = ();
}

parameter_types! {
pub const ProxyDepositBase: Balance = deposit(1, 8);
pub const ProxyDepositFactor: Balance = deposit(0, 33);
Expand Down Expand Up @@ -897,7 +888,6 @@ construct_runtime!(
// Other pallets
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 @@ -973,7 +963,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/testnet/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/testnet/src/weights/pallet_migration.rs

This file was deleted.

0 comments on commit 8a47186

Please sign in to comment.