Companion for Substrate #13410: Introduce EnsureOrigin to democracy.propose (#6750)

* feat: set SubmitOrigin in all affected runtimes

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Daniel Shiposha
2023-02-22 00:15:06 +00:00
committed by GitHub
parent 0e59d866f3
commit 2f6e941caf
4 changed files with 186 additions and 183 deletions
@@ -39,6 +39,7 @@ impl pallet_democracy::Config for Runtime {
type LaunchPeriod = LaunchPeriod;
type VotingPeriod = VotingPeriod;
type MinimumDeposit = MinimumDeposit;
type SubmitOrigin = frame_system::EnsureSigned<AccountId>;
/// A straight majority of the council can decide what their next motion is.
type ExternalOrigin =
pallet_collective::EnsureProportionAtLeast<AccountId, CouncilCollective, 1, 2>;