canvas: Add sudo (#1010)

This commit is contained in:
Alexander Theißen
2022-02-21 12:45:43 +01:00
committed by GitHub
parent 2c73873527
commit 16b1ce796a
2 changed files with 13 additions and 0 deletions
@@ -372,6 +372,11 @@ impl pallet_collator_selection::Config for Runtime {
type WeightInfo = pallet_collator_selection::weights::SubstrateWeight<Runtime>;
}
impl pallet_sudo::Config for Runtime {
type Call = Call;
type Event = Event;
}
// Create the runtime by composing the FRAME pallets that were previously configured.
construct_runtime!(
pub enum Runtime where
@@ -411,6 +416,9 @@ construct_runtime!(
// Handy utilities.
Utility: pallet_utility::{Pallet, Call, Event} = 50,
Multisig: pallet_multisig::{Pallet, Call, Storage, Event<T>} = 51,
// Sudo
Sudo: pallet_sudo::{Pallet, Call, Config<T>, Event<T>, Storage} = 100,
}
);