3

We are live as solochain with POA. Now we need to add new validator to the network for that we need to add the keys to the chain also. How we can do that?

NOTE: Sessions pallet is not integrated yet on the chain.

1 Answer 1

1

You mean you have a live chain already running and you need to add authorities to the set? You need a specific pallet to manage that. Sessions could be part of the solution. But even if you add sessions, you would still need a pallet that allows adding and removing authorities.

You could write your own simple pallet to do this. Or you could use a complex pre-built thing like pallet staking.

You may find this blog post interesting to cover the important aspects of what you are trying to do https://www.gautamdhameja.com/resilient-poa-network-substrate/

3
  • 1
    Yeah correct, I have live chain already running and we need to add authorities keys(aura and grandpa) to the chain. Can you please share any reference how we can do that?
    – Pankaj
    Dec 19, 2023 at 18:04
  • I think if you are using the default implementation of AURA , you are unable to add new authority. You need to have implemented add_authority in pallet aura instead
    – CocDap
    Dec 20, 2023 at 7:21
  • hi @Josh I have added the pallet_session and pallet_validator_set to a running solo chain. But i am getting Aura authority errors. Can you please help me in setting Runtime Migration ? Jan 14 at 17:45

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.