Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

kusama: allow root to cancel/kill referendums #6665

Merged
merged 3 commits into from
Feb 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions runtime/kusama/src/governance/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
ordian marked this conversation as resolved.
Show resolved Hide resolved
type Slash = Treasury;
type Votes = pallet_conviction_voting::VotesOf<Runtime>;
type Tally = pallet_conviction_voting::TallyOf<Runtime>;
Expand Down