According to this answer, if I understood correctly, there are 2 ways to handle proposal execution when using the democracy pallet: through pallet-collective, or pallet-pre-image.
I am trying to do the execution through preimage, but struggling big time (I don't understand the reason for the democracy.PreImageInvalid
error).
Would it be possible (assuming the interpretation stated at the beginning is correct...), to get simple examples of both cases. I am talking about an example pallet implementing democracy, and executing a referendum_start/vote/call_execution.
Thanks in advance.
Kazu
Add a comment
|