Questions tagged [npos]

The tag has no usage guidance.

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

staking.StakingElectionFailed in a Substrate NPOS chain

I've developed an EVM compatible chain with NPOS as its consensus mechanism, but on the completion of each era, I get this error that staking.StakingElectionFailed. What could be the reason for this? ...
0 votes
0 answers
30 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 ...
0 votes
1 answer
35 views

How could I get that reward amount of the nominator

As a developer,I want to use the interface to search this information: which can get the amount which nominator has been rewarded at every era and staking?
  • 55
0 votes
2 answers
68 views

Babe PoA to NPoS migration

Here's my babe pallet configuration: I suppose that for PoA we want to keep the same authority set impl pallet_babe::Config for Runtime { type EpochDuration = EpochDuration; type ...
  • 59
2 votes
0 answers
31 views

NPOS not working after adding the EVM to node config in substrate

I have implemented the NPOS with EVM blockchain using the substrate. NPOS working fine but after adding EVM to Genesis config in node the NPOS is not working and the staking election failed. Smart ...
3 votes
0 answers
67 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. ...
0 votes
0 answers
16 views

Finding author with FindAuthor and Babe consensus

I want to implement the FindAuthor trait to tell my pallet_evm how to find the author of a block. I know how to do it with Aura(FindAuthor is implemented in frontier-node-template). Im implementing an ...
0 votes
1 answer
82 views

NPoS with Aura - no planned era

UPDATE: The election always finalizes with Election Fallback and set of validators doesnt't and neither does the Era, but sessions keep increasing. I understand that an era is just a couple of ...
0 votes
0 answers
21 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 ...
6 votes
2 answers
92 views

When inserting authority keys, should I choose the controller derivation, the stash derivation, or just the vanilla secret?

Starting a PoS network, I realised that my local node requires keys to start producing blocks. Unlike in test networks where I could simply pass --alice and have the validator keys inserted into the ...
8 votes
1 answer
87 views

Why only top 256 nominators are rewarded for an oversubscribed validator on Polkadot?

According to the Wiki article - https://wiki.polkadot.network/docs/learn-nominator#oversubscribed-validators only the top 256 nominators of an oversubscribed validator receive rewards. It also ...
  • 831
10 votes
1 answer
174 views

How to upgrade consensus engine of a live chain from PoA to PoS? [duplicate]

I am working on a substrate based blockchain that is in production. We started the node using PoA consensus but now we want to switch to PoS consensus. I did the necessary changes i.e added necessary ...
  • 135
8 votes
2 answers
64 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::...
  • 153
3 votes
1 answer
66 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 ...