mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 04:06:20 +00:00
Introduce SubmitOrigin to Referenda pallet config (#11567)
This commit is contained in:
1 parent
d6ea0e4205
commit
1c59b81690
4 files changed
+7
-4
No files matched your search
@@ -825,6 +825,7 @@ impl pallet_referenda::Config for Runtime {
|
||||
type Event = Event;
|
||||
type Scheduler = Scheduler;
|
||||
type Currency = pallet_balances::Pallet<Self>;
|
||||
type SubmitOrigin = EnsureSigned<AccountId>;
|
||||
type CancelOrigin = EnsureRoot<AccountId>;
|
||||
type KillOrigin = EnsureRoot<AccountId>;
|
||||
type Slash = ();
|
||||
@@ -843,6 +844,7 @@ impl pallet_referenda::Config<pallet_referenda::Instance2> for Runtime {
|
||||
type Event = Event;
|
||||
type Scheduler = Scheduler;
|
||||
type Currency = pallet_balances::Pallet<Self>;
|
||||
type SubmitOrigin = EnsureSigned<AccountId>;
|
||||
type CancelOrigin = EnsureRoot<AccountId>;
|
||||
type KillOrigin = EnsureRoot<AccountId>;
|
||||
type Slash = ();
|
||||
|
||||
Reference in new issue
Block a user