Skip to main content

Questions tagged [pallet-election-phragmen]

Filter by
Sorted by
Tagged with
1 vote
2 answers
32 views

How to retrieve validators elected for a new Era?

Does anyone know how to retrieve validators elected for the new era ? Thanks a lot !
Greg's user avatar
  • 33
2 votes
0 answers
38 views

Elections phragmen migration

I am working on Substrate-based node upgrades for solo-chain. I stick to Polkadot releases and during the upgrade from polkadot-release-v0.8.27 to polkadot-v0.8.28 I found a storage migration. This ...
Maksim Ramanenkau's user avatar
1 vote
1 answer
21 views

What is the purpose of `candidate_count` argument used in `submit_candidacy` extrinsic

The extrinsic uses the argument in the following lines of code: let actual_count = <Candidates<T>>::decode_len().unwrap_or(0) as u32; ensure!(actual_count <= candidate_count, Error::<...
Szegoo's user avatar
  • 682
3 votes
2 answers
167 views

Staking Election Failed (staking.StakingElectionFailed The election failed. No new era is planned. ) after adding EVM with NPOS(i.e BABE)

I have Added EVM pallet to my NPOS based Substrate chain but i am facing staking.StakingElectionFailed The election failed. No new era is planned. how to solve this issue. I have implemented the NPOS ...
Amit Kumar Yadav's user avatar
5 votes
1 answer
31 views

Why does pallet-election-phragmen have a Balance field in it's Genesis Config?

Why does pallet-election-phragmen have a Balance field here? #[pallet::genesis_config] pub struct GenesisConfig<T: Config> { pub members: Vec<(T::AccountId, BalanceOf<T>)&...
Purple_Turtle's user avatar