Using our Products
ZetaChain's CLI
Governance
Software Upgrade Proposal

Software Upgrade Proposal

A software upgrade proposal enables network participants to agree on updates to the node software, which can include improvements to functionality, security, and performance.

proposal.json
{
  "messages": [
    {
      "@type": "/cosmos.gov.v1.MsgExecLegacyContent",
      "authority": "zeta10d07y265gmmuvt4z0w9aw880jnsr700jvxasvr",
      "content": {
        "@type": "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal",
        "title": "v0.0.0",
        "description": "See Release Notes For More Information: https://github.com/zeta-chain/node/releases/tag/v0.0.0",
        "plan": {
          "height": "2886900",
          "info": "{\"binaries\": {\"zetacored-linux/amd64\": \"https://github.com/zeta-chain/node/releases/download/v0.0.0/zetacored-linux-amd64?checksum=sha256:010888a0ce997494c18cea1e3fe282e271702adc713ba1e022cc4142a221a642\",\"zetacored-linux/arm64\": \"https://github.com/zeta-chain/node/releases/download/v0.0.0/zetacored-linux-arm64?checksum=sha256:698af04499bc8d185dacd437037df13698d63303dea5b0e679bacc9a3d61b246\",\"zetaclientd-linux/amd64\": \"https://github.com/zeta-chain/node/releases/download/v0.0.0/zetaclientd-linux-amd64?checksum=sha256:810871557215ded03b1e4adab8a5b76e5f6d02e2191c0e48508ca06950c015a0\",\"zetaclientd-linux/arm64\": \"https://github.com/zeta-chain/node/releases/download/v0.0.0/zetaclientd-linux-arm64?checksum=sha256:140eb10dbb9d147948c035363cf41b19d68f0c5c713972d6596abe90487b313d\"}}",
          "name": "v0.0.0",
          "time": "0001-01-01T00:00:00Z",
          "upgraded_client_state": null
        }
      }
    }
  ],
  "deposit": "1000000azeta",
  "metadata": "https://example.org/metadata.json"
}

The contents field contains the details of the proposal, including the title, description and the upgrade plan.

Upgrade plan specifies the height at which the upgrade will be executed, the upgrade name, and the URLs to the upgrade binaries.

Note that if the upgrade proposal passes, the blockchain will halt at the specified height, so it’s important for node operators to configure their infrastructure to be ready for the upgrade at the specified height.

Continue Learning

Continue with the next part or try a related tutorial