mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51: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:
@@ -405,7 +405,8 @@ parameter_types! {
|
||||
|
||||
// 1 hour session, 15 minutes unsigned phase, 8 offchain executions.
|
||||
pub OffchainRepeat: BlockNumber = UnsignedPhase::get() / 8;
|
||||
/// We take the top 12_500 nominators as electing voters..
|
||||
|
||||
/// We take the top 12500 nominators as electing voters..
|
||||
pub const MaxElectingVoters: u32 = 12_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.
|
||||
@@ -418,6 +419,7 @@ frame_election_provider_support::generate_solution_type!(
|
||||
VoterIndex = u32,
|
||||
TargetIndex = u16,
|
||||
Accuracy = sp_runtime::PerU16,
|
||||
MaxVoters = MaxElectingVoters,
|
||||
>(24)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user