Skip to main content
9 votes
Accepted

What is MAX_NOMINATIONS?

The docs for generate_solution_type say: /// Moreover, the maximum number of edges per voter (distribution per assignment) also need to be /// specified. Attempting to convert from/to an assignment ...
zekemostov's user avatar
5 votes
Accepted

What is the difference between pallet_elections_phragmen and sp_npos_solution?

Here's an overview of all of the named crates, and how they relate to one another. sp-npos-elections: This is a generic rust crate that just implements a bunch of algorithms, such as seq_phragmen, ...
kianenigma's user avatar
  • 2,864
5 votes
Accepted

Is it possible to specify minimum tokens for staking elections?

The pallet itself provides for this, and there is (at the time of writing) a proposal to do just what you are after on Polkadot: https://polkadot.polkassembly.io/post/905 Here is the type described: ...
Nuke's user avatar
  • 1,852
4 votes

What are these items in ElectionProviderMultiPhase?

tl;dr The Config types in your question are configuration parameters for the deposit of submitting a signed solution and reward for a signed solution accepted at the end of the signed phase. Context ...
zekemostov's user avatar
3 votes
Accepted

Substrate validators election failing and connectivy lost

This is because for some reason your pallet-election-provider-multi-phase failed, without a proper fallback configured. The reason for the failure can be multiple things, but the most common one is ...
kianenigma's user avatar
  • 2,864
3 votes

Validator not being onboarded due to Election NoFallback error, possibly

2022-03-08 22:34:48.034 DEBUG offchain-worker runtime::election-provider: [#199] 🗳 pre-dispatch checks failed for mined solution: Module { index: 19, error: 1, message: Some("...
kianenigma's user avatar
  • 2,864
2 votes

What is MAX_NOMINATIONS?

Answer the second question: " Is it 16 from the NposCompactSolution16.0 ?". Yes and no, for yes part, it is 16; for no part, 16 does not come from NposCompactSolution16.0, it comes from (16)....
ironman_ch_parami's user avatar
2 votes
Accepted

Error submitting transaction (NoUnsignedValidator)

Take a look at the ocw doc's unsigned transaction part: https://docs.substrate.io/how-to-guides/v3/ocw/transactions/ Because there's no code revealed, so I can just guess you don't implement ...
ironman_ch_parami's user avatar
2 votes

Era time is not completing

As stated here: https://github.com/polkadot-js/apps/issues/7607#issuecomment-1129752912 This situation can happen IFF the chain moves to an emergency condition where the election/staking have failed ...
Bruno's user avatar
  • 8,455
1 vote

Failure of election for next session

Is then the current validation set re-used to solve the problem of missing validators? Correct. Is it possible also that such failure arise when the election_multi_phase pallet doesn’t complete an ...
kianenigma's user avatar
  • 2,864
1 vote

Offline validator is being picked in new era (in local chain)

Check if they are in Invulnerables.
aurexav's user avatar
  • 11.2k
1 vote
Accepted

What happens if validator count < minimum_validator_count?

The staking pallet has two storage items to configure this: ValidatorCount. This is the desired number of validators that staking tries to elect via its ElectionProvider. All of the transactions you ...
kianenigma's user avatar
  • 2,864
1 vote

What are these items in ElectionProviderMultiPhase?

The docs on this pallet may help. As well as reading the signed phase source to see the mechanics more in detail. The sumbit callable is open to anyone to use, so long as they pass the typical let who ...
Nuke's user avatar
  • 1,852

Only top scored, non community-wiki answers of a minimum length are eligible