Skip to main content
Version: Devnet - Playground

Adjustable Params

Community members may adjust certain onchain parameters that affect the functioning of RollApp. This allows for decentralized onchain governance over critical functionality of the RollApp. Common governance adjustable params include inflation rate, maximum amount of Governors, and more.

Querying params

The following command allows users to query the state of a module's params:

rollapp-evm query params subspace [subspace] [key] [flags]

Updating params

The following command allows users to submit governance proposals to update the state of a module's params:

rollapp-evm tx gov submit-legacy-proposal param-change [proposal-file] [flags]

Example proposal.json

{
"title": "Staking Param Change",
"description": "Update max governors",
"changes": [
{
"subspace": "staking",
"key": "MaxValidators",
"value": 200
}
],
"deposit": "100000000000arollapp"
}