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:
1
junod query params subspace distribution communitytax
Copied!
NB: if you have not set it in config, you will need to add chain-id: --chain-id uni.
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:
1
{
2
"title":"Governance Proposal to add maximum per block gas",
3
"description":"To stop potential attacks against the network via the use of malicious smart contracts, we need to set a max per block gas limit. From testing on the Uni testnet, the core team feel this value is a good starting point, and it can be increased in future if necessary.",