new to substrate. here are three modules: Democracy
Council
, TechnicalCommittee
. i did some experiments on the local testnet ,but failed.
I know that the proposal under Democracy
can execute sudo origin. so i did the following:
Democracy -> Submit preimage(system-> set_balance(sudo origin) and get this preimage hash) -> Submit proposal(input preimage hash)
if the proposal enters referenda and voted pass. this set_balance proposal will execute. this process will take a long time.
Council
, TechnicalCommittee
can speed up the process. and they all use collective pallet.
i use techcomm
-> proposals
-> Submit proposal
:
democracy -> fastTrack(proposalHash is set_balance preimage hash)
vote and end time, I click the close button. but i get this error:
technicalCommittee.Executed:
{
Err: BadOrigin
}
why? fastTrack origin is FastTrackOrigin.
type FastTrackOrigin =pallet_collective::EnsureProportionAtLeast<AccountId, TechnicalCollective, 2, 3>;
i use TechnicalCommittee vote this proposal and close(execute) it, why Origin is BadOrigin?
If use Council
and TechnicalCommittee
, What the correct process should look like?
BTW,is there any more comprehensive documentation on this?. such as :
https://polkadot.network/blog/polkadot-governance/
ADD: If i want to use fast_tack to setBalance, what is the correct way?