Submitting a Proposal (CLI)
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 junod query params subspace [module] [parameter]
. For example, to query the communitytax
param in distribution
, you would do:
if you have not set it in config, you will need to add chain-id: --chain-id uni-6
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. You can use the following script to format the description in markdown.
We can then submit it:
(Note: this example is Juno Mainnet Proposal 6).
Other types of proposals include community-pool-spend
and software-upgrade
/cancel-software-upgrade
.
Last updated