Skip to content

Commit f750148

Browse files
committed
Remove pallet-sudo from coretime-westend
1 parent 7afb516 commit f750148

4 files changed

Lines changed: 0 additions & 15 deletions

File tree

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cumulus/parachains/runtimes/coretime/coretime-westend/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ pallet-message-queue = { path = "../../../../../substrate/frame/message-queue",
3434
pallet-broker = { path = "../../../../../substrate/frame/broker", default-features = false }
3535
pallet-multisig = { path = "../../../../../substrate/frame/multisig", default-features = false }
3636
pallet-session = { path = "../../../../../substrate/frame/session", default-features = false }
37-
pallet-sudo = { path = "../../../../../substrate/frame/sudo", default-features = false }
3837
pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false }
3938
pallet-transaction-payment = { path = "../../../../../substrate/frame/transaction-payment", default-features = false }
4039
pallet-transaction-payment-rpc-runtime-api = { path = "../../../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false }
@@ -106,7 +105,6 @@ std = [
106105
"pallet-message-queue/std",
107106
"pallet-multisig/std",
108107
"pallet-session/std",
109-
"pallet-sudo/std",
110108
"pallet-timestamp/std",
111109
"pallet-transaction-payment-rpc-runtime-api/std",
112110
"pallet-transaction-payment/std",
@@ -156,7 +154,6 @@ runtime-benchmarks = [
156154
"pallet-collator-selection/runtime-benchmarks",
157155
"pallet-message-queue/runtime-benchmarks",
158156
"pallet-multisig/runtime-benchmarks",
159-
"pallet-sudo/runtime-benchmarks",
160157
"pallet-timestamp/runtime-benchmarks",
161158
"pallet-utility/runtime-benchmarks",
162159
"pallet-xcm-benchmarks/runtime-benchmarks",
@@ -186,7 +183,6 @@ try-runtime = [
186183
"pallet-message-queue/try-runtime",
187184
"pallet-multisig/try-runtime",
188185
"pallet-session/try-runtime",
189-
"pallet-sudo/try-runtime",
190186
"pallet-timestamp/try-runtime",
191187
"pallet-transaction-payment/try-runtime",
192188
"pallet-utility/try-runtime",

cumulus/parachains/runtimes/coretime/coretime-westend/src/lib.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -426,12 +426,6 @@ impl pallet_utility::Config for Runtime {
426426
type WeightInfo = weights::pallet_utility::WeightInfo<Runtime>;
427427
}
428428

429-
impl pallet_sudo::Config for Runtime {
430-
type RuntimeCall = RuntimeCall;
431-
type RuntimeEvent = RuntimeEvent;
432-
type WeightInfo = pallet_sudo::weights::SubstrateWeight<Runtime>;
433-
}
434-
435429
// Create the runtime by composing the FRAME pallets that were previously configured.
436430
construct_runtime!(
437431
pub enum Runtime
@@ -465,9 +459,6 @@ construct_runtime!(
465459

466460
// The main stage.
467461
Broker: pallet_broker = 50,
468-
469-
// Sudo
470-
Sudo: pallet_sudo = 100,
471462
}
472463
);
473464

cumulus/parachains/runtimes/coretime/coretime-westend/src/xcm_config.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ impl Contains<RuntimeCall> for SafeCallFilter {
183183
) | RuntimeCall::ParachainSystem(..) |
184184
RuntimeCall::Timestamp(..) |
185185
RuntimeCall::Balances(..) |
186-
RuntimeCall::Sudo(..) |
187186
RuntimeCall::CollatorSelection(..) |
188187
RuntimeCall::Session(pallet_session::Call::purge_keys { .. }) |
189188
RuntimeCall::XcmpQueue(..) |

0 commit comments

Comments
 (0)