mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 17:31:03 +00:00
* feat: set SubmitOrigin in all affected runtimes
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
This commit is contained in:
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