Toggle inflation

Toggles on-chain inflation

Draft proposal

cat << EOF | jq | tee draft_proposal.json
{
  "title": "Turn on inflation",
  "description": "Test turning off/on inflation params",
  "changes": [
    {
      "subspace": "inflation",
      "key": "InflationEnabled",
      "value": true
    }
  ],
  "deposit": "20000000000unibi"
}
EOF

Use false to turn off inflation.

Submit proposal

We use the legacy proposal handler because the x/inflation module hasn't upgraded to the new way of handling params yet.

Last updated

Was this helpful?