Skip to content

Commit

Permalink
remove pallet sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshOrndorff committed Dec 14, 2023
1 parent 7182ccf commit 9c2b602
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 26 deletions.
17 changes: 0 additions & 17 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 @@ -47,7 +47,6 @@ frame-system-rpc-runtime-api = { branch = "release-polkadot-v1.5.0", default-fea
pallet-balances = { branch = "release-polkadot-v1.5.0", default-features = false, git = "https://github.com/paritytech/polkadot-sdk" }
pallet-contracts = { branch = "release-polkadot-v1.5.0", default-features = false, git = "https://github.com/paritytech/polkadot-sdk" }
pallet-insecure-randomness-collective-flip = { branch = "release-polkadot-v1.5.0", default-features = false, git = "https://github.com/paritytech/polkadot-sdk" }
pallet-sudo = { branch = "release-polkadot-v1.5.0", default-features = false, git = "https://github.com/paritytech/polkadot-sdk" }
pallet-timestamp = { branch = "release-polkadot-v1.5.0", default-features = false, git = "https://github.com/paritytech/polkadot-sdk" }
pallet-transaction-payment = { branch = "release-polkadot-v1.5.0", default-features = false, git = "https://github.com/paritytech/polkadot-sdk" }
pallet-transaction-payment-rpc = { branch = "release-polkadot-v1.5.0", git = "https://github.com/paritytech/polkadot-sdk" }
Expand Down
2 changes: 0 additions & 2 deletions runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ frame-system = { workspace = true }
pallet-balances = { workspace = true }
pallet-contracts = { workspace = true }
pallet-insecure-randomness-collective-flip = { workspace = true }
pallet-sudo = { workspace = true }
pallet-timestamp = { workspace = true }
pallet-transaction-payment = { workspace = true }
sp-api = { workspace = true }
Expand Down Expand Up @@ -67,7 +66,6 @@ std = [
"sp-std/std",
"sp-transaction-pool/std",
"sp-version/std",
"pallet-sudo/std",
"frame-system/std",
"pallet-timestamp/std",
"async-trait",
Expand Down
6 changes: 0 additions & 6 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,6 @@ impl pallet_balances::Config for Runtime {
type RuntimeFreezeReason = RuntimeFreezeReason;
}

// impl pallet_sudo::Config for Runtime {
// type Event = Event;
// type Call = Call;
// }

parameter_types! {
pub const TargetBlockTime: u128 = 5_000;
pub const DampFactor: u128 = 3;
Expand Down Expand Up @@ -351,7 +346,6 @@ construct_runtime!(
RandomnessCollectiveFlip: pallet_insecure_randomness_collective_flip,
Timestamp: pallet_timestamp,
Balances: pallet_balances,
// Sudo: pallet_sudo
TransactionPayment: pallet_transaction_payment,
DifficultyAdjustment: difficulty,
BlockAuthor: block_author,
Expand Down

0 comments on commit 9c2b602

Please sign in to comment.