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 ShiposhaandKian Paimani authored and GitHub committed 2023-02-21 22:56:07 +00:00
1 parent d5beaa5542
commit 236bbbd5ef
3 files changed
+9 -2

No files matched your search

+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 =