Introduce EnsureOrigin to democracy.propose (#13410)

* feat: add submitorigin to democracy

* fix: democracy tests

* fix: SubmitOrigin doc comment

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>

---------

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This commit is contained in:
Daniel Shiposha
2023-02-21 22:56:07 +00:00
committed by GitHub
parent d5beaa5542
commit 236bbbd5ef
3 changed files with 9 additions and 2 deletions
+1
View File
@@ -948,6 +948,7 @@ impl pallet_democracy::Config for Runtime {
/// (NTB) vote.
type ExternalDefaultOrigin =
pallet_collective::EnsureProportionAtLeast<AccountId, CouncilCollective, 1, 1>;
type SubmitOrigin = EnsureSigned<AccountId>;
/// Two thirds of the technical committee can have an ExternalMajority/ExternalDefault vote
/// be tabled immediately and with a shorter voting/enactment period.
type FastTrackOrigin =