kusama: allow root to cancel/kill referendums (#6665)

* kusama: allow root to cancel/kill referendums

* fix semicolons

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
asynchronous robandparity-processbot authored and GitHub committed 2023-02-03 03:54:22 +00:00
1 parent cf3c838e05
commit 31d9365653
1 file changed
+2 -2
@@ -82,8 +82,8 @@ impl pallet_referenda::Config for Runtime {
type Scheduler = Scheduler;
type Currency = Balances;
type SubmitOrigin = frame_system::EnsureSigned<AccountId>;
type CancelOrigin = ReferendumCanceller;
type KillOrigin = ReferendumKiller;
type CancelOrigin = EitherOf<EnsureRoot<AccountId>, ReferendumCanceller>;
type KillOrigin = EitherOf<EnsureRoot<AccountId>, ReferendumKiller>;
type Slash = Treasury;
type Votes = pallet_conviction_voting::VotesOf<Runtime>;
type Tally = pallet_conviction_voting::TallyOf<Runtime>;