Skip to content

Commit

Permalink
Remove multisig (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier authored Feb 24, 2023
1 parent 3ae132a commit 0f93b32
Show file tree
Hide file tree
Showing 30 changed files with 1 addition and 691 deletions.
6 changes: 1 addition & 5 deletions Cargo.lock

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

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ pallet-democracy = { default-features = false, git = "
pallet-elections-phragmen = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
pallet-identity = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
pallet-membership = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
pallet-multisig = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
pallet-preimage = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
pallet-proxy = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
pallet-scheduler = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" }
Expand Down Expand Up @@ -235,7 +234,6 @@ pallet-im-online = { git = "https://github.com/darw
pallet-indices = { git = "https://github.com/darwinia-network/substrate", branch = "polkadot-v0.9.37" }
pallet-membership = { git = "https://github.com/darwinia-network/substrate", branch = "polkadot-v0.9.37" }
pallet-mmr = { git = "https://github.com/darwinia-network/substrate", branch = "polkadot-v0.9.37" }
pallet-multisig = { git = "https://github.com/darwinia-network/substrate", branch = "polkadot-v0.9.37" }
pallet-nis = { git = "https://github.com/darwinia-network/substrate", branch = "polkadot-v0.9.37" }
pallet-nomination-pools = { git = "https://github.com/darwinia-network/substrate", branch = "polkadot-v0.9.37" }
pallet-nomination-pools-benchmarking = { git = "https://github.com/darwinia-network/substrate", branch = "polkadot-v0.9.37" }
Expand Down
4 changes: 0 additions & 4 deletions runtime/crab/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ pallet-democracy = { workspace = true }
pallet-elections-phragmen = { workspace = true }
pallet-identity = { workspace = true }
pallet-membership = { workspace = true }
pallet-multisig = { workspace = true }
pallet-preimage = { workspace = true }
pallet-proxy = { workspace = true }
pallet-scheduler = { workspace = true }
Expand Down Expand Up @@ -214,7 +213,6 @@ std = [
"pallet-elections-phragmen/std",
"pallet-membership/std",
"pallet-identity/std",
"pallet-multisig/std",
"pallet-preimage/std",
"pallet-proxy/std",
"pallet-scheduler/std",
Expand Down Expand Up @@ -292,7 +290,6 @@ runtime-benchmarks = [
"pallet-elections-phragmen/runtime-benchmarks",
"pallet-membership/runtime-benchmarks",
"pallet-identity/runtime-benchmarks",
"pallet-multisig/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks",
"pallet-proxy/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks",
Expand Down Expand Up @@ -353,7 +350,6 @@ try-runtime = [
"pallet-elections-phragmen/try-runtime",
"pallet-membership/try-runtime",
"pallet-identity/try-runtime",
"pallet-multisig/try-runtime",
"pallet-preimage/try-runtime",
"pallet-proxy/try-runtime",
"pallet-scheduler/try-runtime",
Expand Down
2 changes: 0 additions & 2 deletions runtime/crab/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ frame_support::construct_runtime! {
Scheduler: pallet_scheduler = 28,
Preimage: pallet_preimage = 29,
Proxy: pallet_proxy = 30,
Multisig: pallet_multisig = 31,

// XCM stuff.
XcmpQueue: cumulus_pallet_xcmp_queue = 32,
Expand Down Expand Up @@ -184,7 +183,6 @@ frame_benchmarking::define_benchmarks! {
[pallet_elections_phragmen, PhragmenElection]
[pallet_identity, Identity]
[pallet_membership, TechnicalMembership]
[pallet_multisig, Multisig]
[pallet_preimage, Preimage]
[pallet_proxy, Proxy]
[pallet_scheduler, Scheduler]
Expand Down
2 changes: 0 additions & 2 deletions runtime/crab/src/pallets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ mod preimage;

mod proxy;

mod multisig;

// XCM stuff.
mod xcmp_queue;

Expand Down
32 changes: 0 additions & 32 deletions runtime/crab/src/pallets/multisig.rs

This file was deleted.

1 change: 0 additions & 1 deletion runtime/crab/src/pallets/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ impl frame_support::traits::InstanceFilter<RuntimeCall> for ProxyType {
// Might contains transfer {
| RuntimeCall::Utility(..)
| RuntimeCall::Proxy(..)
| RuntimeCall::Multisig(..)
| RuntimeCall::PolkadotXcm(..)
| RuntimeCall::Ethereum(..) // }
),
Expand Down
1 change: 0 additions & 1 deletion runtime/crab/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ pub mod pallet_elections_phragmen;
pub mod pallet_fee_market;
pub mod pallet_identity;
pub mod pallet_membership;
pub mod pallet_multisig;
pub mod pallet_preimage;
pub mod pallet_proxy;
pub mod pallet_scheduler;
Expand Down
128 changes: 0 additions & 128 deletions runtime/crab/src/weights/pallet_multisig.rs

This file was deleted.

4 changes: 0 additions & 4 deletions runtime/darwinia/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ pallet-democracy = { workspace = true }
pallet-elections-phragmen = { workspace = true }
pallet-identity = { workspace = true }
pallet-membership = { workspace = true }
pallet-multisig = { workspace = true }
pallet-preimage = { workspace = true }
pallet-proxy = { workspace = true }
pallet-scheduler = { workspace = true }
Expand Down Expand Up @@ -214,7 +213,6 @@ std = [
"pallet-elections-phragmen/std",
"pallet-membership/std",
"pallet-identity/std",
"pallet-multisig/std",
"pallet-preimage/std",
"pallet-proxy/std",
"pallet-scheduler/std",
Expand Down Expand Up @@ -293,7 +291,6 @@ runtime-benchmarks = [
"pallet-elections-phragmen/runtime-benchmarks",
"pallet-membership/runtime-benchmarks",
"pallet-identity/runtime-benchmarks",
"pallet-multisig/runtime-benchmarks",
"pallet-preimage/runtime-benchmarks",
"pallet-proxy/runtime-benchmarks",
"pallet-scheduler/runtime-benchmarks",
Expand Down Expand Up @@ -354,7 +351,6 @@ try-runtime = [
"pallet-elections-phragmen/try-runtime",
"pallet-membership/try-runtime",
"pallet-identity/try-runtime",
"pallet-multisig/try-runtime",
"pallet-preimage/try-runtime",
"pallet-proxy/try-runtime",
"pallet-scheduler/try-runtime",
Expand Down
2 changes: 0 additions & 2 deletions runtime/darwinia/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ frame_support::construct_runtime! {
Scheduler: pallet_scheduler = 28,
Preimage: pallet_preimage = 29,
Proxy: pallet_proxy = 30,
Multisig: pallet_multisig = 31,

// XCM stuff.
XcmpQueue: cumulus_pallet_xcmp_queue = 32,
Expand Down Expand Up @@ -184,7 +183,6 @@ frame_benchmarking::define_benchmarks! {
[pallet_elections_phragmen, PhragmenElection]
[pallet_identity, Identity]
[pallet_membership, TechnicalMembership]
[pallet_multisig, Multisig]
[pallet_preimage, Preimage]
[pallet_proxy, Proxy]
[pallet_scheduler, Scheduler]
Expand Down
2 changes: 0 additions & 2 deletions runtime/darwinia/src/pallets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ mod preimage;

mod proxy;

mod multisig;

// XCM stuff.
mod xcmp_queue;

Expand Down
32 changes: 0 additions & 32 deletions runtime/darwinia/src/pallets/multisig.rs

This file was deleted.

1 change: 0 additions & 1 deletion runtime/darwinia/src/pallets/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ impl frame_support::traits::InstanceFilter<RuntimeCall> for ProxyType {
// Might contains transfer {
| RuntimeCall::Utility(..)
| RuntimeCall::Proxy(..)
| RuntimeCall::Multisig(..)
| RuntimeCall::PolkadotXcm(..)
| RuntimeCall::Ethereum(..) // }
),
Expand Down
1 change: 0 additions & 1 deletion runtime/darwinia/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ pub mod pallet_elections_phragmen;
pub mod pallet_fee_market;
pub mod pallet_identity;
pub mod pallet_membership;
pub mod pallet_multisig;
pub mod pallet_preimage;
pub mod pallet_proxy;
pub mod pallet_scheduler;
Expand Down
Loading

0 comments on commit 0f93b32

Please sign in to comment.