Skip to content

Instantly share code, notes, and snippets.

@rootulp
Created June 13, 2023 18:46
Show Gist options
  • Select an option

  • Save rootulp/fcf5160a6506dc23a228a90d68e356bd to your computer and use it in GitHub Desktop.

Select an option

Save rootulp/fcf5160a6506dc23a228a90d68e356bd to your computer and use it in GitHub Desktop.
How to increase the `GovMaxSquareSize` param on a Celestia testnet

GovMaxSquareSize

This gist will help you increase the GovMaxSquareSize param of the x/blob module on a Celestia testnet.

Prerequisites

  1. Download and install celestia-appd v1.0.0-rc2

  2. Run celestia-appd

    ./scripts/build-run-single-node.sh
  3. In a seperate terminal tab

    export CELESTIA_APP_HOME=<copy from other terminal tab>
    export FROM=$(celestia-appd keys show validator --address --home $CELESTIA_APP_HOME)

Increase GovMaxSquareSize

  1. Download proposal.json to a local file

  2. Submit proposal

    celestia-appd tx gov submit-legacy-proposal param-change proposal.json --from $FROM --home $CELESTIA_APP_HOME --fees 21000utia
  3. Vote on proposal

    celestia-appd tx gov vote 1 yes --from $FROM --home $CELESTIA_APP_HOME --fees 21000utia
  4. Query all proposals

    celestia-appd query gov proposals
  5. Query specific proposal

    celestia-appd query gov proposal 1
{
"title": "Update GovMaxSquareSize from 64 to 128",
"description": "Update GovMaxSquareSize from 64 to 128",
"changes": [
{
"subspace": "blob",
"key": "GovMaxSquareSize",
"value": "128"
}
],
"deposit": "10000000utia"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment