3

I am trying to learn how to use the collective module and started my chain using just 1 council member. Then I create a proposal for some function like set_balance, and execute it with a threshold of 1. Since I am the only member in the council I assumed it would pass.

After a few moments I can see a successful dispatch, but on the explorer I see this : enter image description here

What does this mean and where am I going wrong?

1 Answer 1

2

Can't tell much without seeing your code, but looks like a few things:

  1. set_balance requires Root origin, so Council won't be enough, unless you configure your Root origin to be from Council.
  2. To dispatch from the Council, you should use propose, vote, and close from the Collective pallet. If approved, then it will construct the necessary origin and dispatch the call.
2
  • Could you tell me what code snip you'd like to see? Would the pallet_collective config suffice? Commented Apr 13, 2022 at 14:14
  • At least that plus the configuration of any Origin you want to use it for. Probably the whole runtime lib.rs would be useful. Commented Apr 13, 2022 at 14:55

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.