mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 12:16:25 +00:00
* feat: set SubmitOrigin in all affected runtimes
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
This commit is contained in:
1 parent
0e59d866f3
commit
2f6e941caf
4 files changed
+186
-183
No files matched your search
Generated
+183
-183
File diff suppressed because it is too large.
Load diff
@@ -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>;
|
||||
|
||||
@@ -670,6 +670,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 = EitherOfDiverse<
|
||||
pallet_collective::EnsureProportionAtLeast<AccountId, CouncilCollective, 1, 2>,
|
||||
|
||||
@@ -401,6 +401,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>;
|
||||
|
||||
Reference in new issue
Block a user