mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
* Fixing `generate_solution_type` This is needed after changes to substrate * `VoterSnapshotPerBlock` -> `MaxElectingVoters` * rename `SizeBound` to `MaxVoters` * cargo update -p sp-io * ignore failing test * spell-check * fix pub OffchainRepeat Co-authored-by: kianenigma <kian@parity.io> Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This commit is contained in:
@@ -351,7 +351,7 @@ parameter_types! {
|
||||
// 1 hour session, 15 minutes unsigned phase, 4 offchain executions.
|
||||
pub OffchainRepeat: BlockNumber = UnsignedPhase::get() / 4;
|
||||
|
||||
/// We take the top 22_500 nominators as electing voters..
|
||||
/// We take the top 22500 nominators as electing voters..
|
||||
pub const MaxElectingVoters: u32 = 22_500;
|
||||
/// ... and all of the validators as electable targets. Whilst this is the case, we cannot and
|
||||
/// shall not increase the size of the validator intentions.
|
||||
@@ -364,6 +364,7 @@ frame_election_provider_support::generate_solution_type!(
|
||||
VoterIndex = u32,
|
||||
TargetIndex = u16,
|
||||
Accuracy = sp_runtime::PerU16,
|
||||
MaxVoters = MaxElectingVoters,
|
||||
>(16)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user