Questions tagged [election]
The election tag has no usage guidance.
14
questions
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 ...
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 ...
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.
...
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 ...
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 ...
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(...
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 ...
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 ...
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::...
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.")
...
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 ...
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 ...
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 ...
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 ...