0

I have a running node without a council configured in genesis. I would like to add a council and initial council members using a runtime upgrade. Is this possible and how would i do it

4
  • What about calling fn set_members? Apr 14, 2023 at 12:13
  • fn set_memebrs will result in a bad origin error since there are no members completely Apr 14, 2023 at 12:20
  • What did you set as your SetMembersOrigin? Apr 14, 2023 at 12:24
  • Am using polkadot-v0.9.37 and the type SetMembersOrigin is not a member of the trait. But i am updating my code to polkadot-v0.9.40 and i will be able to use it. Apr 14, 2023 at 15:10

1 Answer 1

1

This could be achieved by a storage migration (read the linked docs page for details).

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.