Questions tagged [election]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
63 views

build NPOS EVM commpatible chain

What's the best project setup to build an NPoS and EVM Compatible chain at this moment? Which version/branch of polkadot release to use? such as polkadot-v0.9.22 or polkadot-v0.9.18? Use ORML or ...
Muhammad Talha Dar's user avatar
1 vote
1 answer
24 views

Failure of election for next session

Just a clarification, suppose that the pallet_session::rotate_session is not able to retrieve the next validation set due to an election failure inside the pallet_staking::new_session function. Is ...
mr_bovo's user avatar
  • 131
4 votes
0 answers
80 views

fp_evm::GenesisAccount causes StakingElection.fail

As the title says, I have added EVM Compatibility to my NPoS runtime(using chainsafe/substrate-node-template), and when i run my node with Alice and Bob validators, the StakingElection begins to fail. ...
Muhammad Talha Dar's user avatar
2 votes
1 answer
45 views

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

I am simulating how validators got switched when a validator is down in my localhost local chain setting. I have 3-validator set in local chain genesis, Alice, Bob, and Charlie, but I only have Alice ...
Jimmy Chu's user avatar
  • 175
1 vote
0 answers
25 views

Polkadot Election Failure

I created a Polkadot private chain with 5 validator candidates and 4 validator active. If I set 1 epoch = 1 era and shutdown one active validator, there is no problem, the standby validator takes over ...
Aiden Pearce's user avatar
0 votes
1 answer
83 views

Error submitting transaction (NoUnsignedValidator)

I'm debugging a substrate based blockchain. I found that at each election this are logged: ... WARN ThreadId(17) txpool: (offchain call) Error submitting a transaction t o the pool: Pool(...
Fernando Ruscitti's user avatar
5 votes
1 answer
113 views

Era time is not completing

I have deployed my blockchain sometime ago and just checked that the era time is stuck, i have tried to forceNewEra() using sudo command, i have also tried forceNewEraAlways() but it changes the era ...
Akash Singh's user avatar
3 votes
1 answer
75 views

What happens if validator count < minimum_validator_count?

I am using the staking pallet and it has an item known as minimum_validator_count. I'd like to learn what would happen if the actual validators in the network is less than this entity. Would the ...
Purple_Turtle's user avatar
9 votes
2 answers
70 views

What is MAX_NOMINATIONS?

In this code : sp_npos_elections::generate_solution_type!( #[compact] pub struct NposCompactSolution16::< VoterIndex = u32, TargetIndex = u16, Accuracy = sp_runtime::...
RoboT's user avatar
  • 337
1 vote
1 answer
165 views

Substrate validators election failing and connectivy lost

Hey so I have been running a custom substrate chain with 3 validators. But recently the chain got crashed with a log election provider failed due to ElectionError::Fallback("NoFallback.") ...
kroos47's user avatar
  • 37
2 votes
1 answer
125 views

Validator not being onboarded due to Election NoFallback error, possibly

So my chain is running at the moment with 3 invulnerable validators, and I was trying to add another validator to the mix. I generated 2 accounts, transferred some stash to one of them, made a ...
Purple_Turtle's user avatar
1 vote
1 answer
26 views

Is it possible to specify minimum tokens for staking elections?

I would like to know if pallet-staking has any mechanism that facilitates constraints upon the amount of tokens that can be staked. I think polkadot initially came with no particular requirement for ...
Purple_Turtle's user avatar
1 vote
2 answers
76 views

What are these items in ElectionProviderMultiPhase?

type SignedRewardBase: Get<BalanceOf<Self>> Base reward for a signed solution type SignedDepositBase: Get<BalanceOf<Self>> Base deposit for a signed solution. type ...
Purple_Turtle's user avatar
3 votes
1 answer
73 views

What is the difference between pallet_elections_phragmen and sp_npos_solution?

Just breezing through the docs for both crates, I can see that they both provide an implementation of phragmen's election algorithm, where sp_npos_elections provides an additional PhragMMS and ...
Purple_Turtle's user avatar