0

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 Frontiers's EVM-Pallets?

It looks to me any version above polkadot-v0.9.19 has the same issue. Adding EVM pallet to runtime and adding genesis accounds to genesis config causes StakingElection.failed and era stagnates and never changes, election never occurs, line in this question.

EDIT 1: I have implemented NPoS using ElectionProviderMultiPhase and pallet Staking, and EVM using frontier's EVM pallets using branches polkadot-v0.9.22 version. Here are the logs and the error that shows up.

terminal logs

explorer logs

6
  • you can use any branch of polkadot and use same branch of frontier suppose if you are using polkadot-v0.9.22 then use the same branch of frontier also. Commented Nov 30, 2022 at 6:55
  • I did so, but it looks like the StakingElection.failed error still exists in all 0.9.2* versions, and it looks like a compatibility issue between frontier's EVM pallets and pallets used to build NPoS runtimes. Commented Nov 30, 2022 at 9:19
  • @MuhammadTalhaDar you have not asked a clear and concise question above. Please update your post to be something that can be directly answered else, we will need to close this post.
    – Shawn Tabrizi
    Commented Nov 30, 2022 at 20:49
  • I would like to know if a standalone chain can be NPoS and have EVM compatability. Because it looks that is not possible for versions of polkadot-v0.9.2*. @ShawnTabrizi Commented Dec 1, 2022 at 7:55
  • Ability to run the EVM and which consensus you use are not related. So yes, it is possible. It looks like you have not set up your staking correctly, so you need to simplify and clarify your question to solve that.
    – Shawn Tabrizi
    Commented Dec 1, 2022 at 13:17

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.