mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 02:51:08 +00:00
Companion for substrate/pull/8903 (#3099)
* add stuff * Update runtime/polkadot/src/lib.rs * Update runtime/kusama/src/lib.rs * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+152
-152
File diff suppressed because it is too large
Load Diff
@@ -378,6 +378,11 @@ impl pallet_election_provider_multi_phase::Config for Runtime {
|
|||||||
type OnChainAccuracy = Perbill;
|
type OnChainAccuracy = Perbill;
|
||||||
type Fallback = Fallback;
|
type Fallback = Fallback;
|
||||||
type BenchmarkingConfig = ();
|
type BenchmarkingConfig = ();
|
||||||
|
type ForceOrigin = EnsureOneOf<
|
||||||
|
AccountId,
|
||||||
|
EnsureRoot<AccountId>,
|
||||||
|
pallet_collective::EnsureProportionAtLeast<_2, _3, AccountId, CouncilCollective>,
|
||||||
|
>;
|
||||||
type WeightInfo = weights::pallet_election_provider_multi_phase::WeightInfo<Runtime>;
|
type WeightInfo = weights::pallet_election_provider_multi_phase::WeightInfo<Runtime>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -359,6 +359,11 @@ impl pallet_election_provider_multi_phase::Config for Runtime {
|
|||||||
type CompactSolution = NposCompactSolution16;
|
type CompactSolution = NposCompactSolution16;
|
||||||
type Fallback = Fallback;
|
type Fallback = Fallback;
|
||||||
type BenchmarkingConfig = ();
|
type BenchmarkingConfig = ();
|
||||||
|
type ForceOrigin = EnsureOneOf<
|
||||||
|
AccountId,
|
||||||
|
EnsureRoot<AccountId>,
|
||||||
|
pallet_collective::EnsureProportionAtLeast<_2, _3, AccountId, CouncilCollective>,
|
||||||
|
>;
|
||||||
type WeightInfo = weights::pallet_election_provider_multi_phase::WeightInfo<Runtime>;
|
type WeightInfo = weights::pallet_election_provider_multi_phase::WeightInfo<Runtime>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -369,6 +369,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime {
|
|||||||
type CompactSolution = NposCompactSolution16;
|
type CompactSolution = NposCompactSolution16;
|
||||||
type Fallback = Fallback;
|
type Fallback = Fallback;
|
||||||
type BenchmarkingConfig = ();
|
type BenchmarkingConfig = ();
|
||||||
|
type ForceOrigin = EnsureRoot<AccountId>;
|
||||||
type WeightInfo = weights::pallet_election_provider_multi_phase::WeightInfo<Runtime>;
|
type WeightInfo = weights::pallet_election_provider_multi_phase::WeightInfo<Runtime>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user