Submitting a Proposal (CLI)
This page is currently a work in progress
Governance proposals target the parameters of specific modules. Go to the list of modules, and go to the 'parameters' tab for the module you are interested in.
You can query the current setting for that parameter with sourced query params subspace [module] [parameter]. For example, to query the communitytax param in distribution, you would do:
NB: if you have not set it in config, you will need to add chain-id: --chain-id sourcechain-testnet
This will return:
You can query BaseApp parameters as well:
This will return:
Let's take this BlockParams parameter as an example. Say we want to create a proposal that increases this value.
We can encode the parameter change in a JSON proposal like so:
We can then submit it:
Other types of proposals include community-pool-spend and software-upgrade/cancel-software-upgrade.
Last updated