mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
Companion for Multi-phase elections solution resubmission (#2648)
* Companion for Multi-phase elections solution resubmission https://github.com/paritytech/substrate/pull/8290 * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
9bbc0b4460
commit
774d612eef
@@ -343,6 +343,7 @@ parameter_types! {
|
||||
|
||||
// miner configs
|
||||
pub const MinerMaxIterations: u32 = 10;
|
||||
pub OffchainRepeat: BlockNumber = 5;
|
||||
}
|
||||
|
||||
sp_npos_elections::generate_solution_type!(
|
||||
@@ -361,8 +362,9 @@ impl pallet_election_provider_multi_phase::Config for Runtime {
|
||||
type UnsignedPhase = UnsignedPhase;
|
||||
type SolutionImprovementThreshold = SolutionImprovementThreshold;
|
||||
type MinerMaxIterations = MinerMaxIterations;
|
||||
type MinerMaxWeight = OffchainSolutionWeightLimit;
|
||||
type MinerMaxWeight = OffchainSolutionWeightLimit; // For now use the one from staking.
|
||||
type MinerMaxLength = OffchainSolutionLengthLimit;
|
||||
type OffchainRepeat = OffchainRepeat;
|
||||
type MinerTxPriority = NposSolutionPriority;
|
||||
type DataProvider = Staking;
|
||||
type OnChainAccuracy = Perbill;
|
||||
|
||||
Reference in New Issue
Block a user