Introduce SubmitOrigin to Referenda pallet config (#11567)

This commit is contained in:
Gavin Wood
2022-06-01 11:46:06 +01:00
committed by GitHub
parent d6ea0e4205
commit 1c59b81690
4 changed files with 7 additions and 4 deletions
+1
View File
@@ -215,6 +215,7 @@ impl Config for Test {
type Event = Event;
type Scheduler = Scheduler;
type Currency = pallet_balances::Pallet<Self>;
type SubmitOrigin = frame_system::EnsureSigned<u64>;
type CancelOrigin = EnsureSignedBy<Four, u64>;
type KillOrigin = EnsureRoot<u64>;
type Slash = ();