Hypersign
Search…
Blockchain Node Upgrade

Field
Description
name
Name of the Upgrade
title
Title of the proposal
description
Description of the proposal
upgrade-height
Height at which node upgrade should happen
deposit
Deposit for the proposal (in uhid)

  • Run the following to submit a blockchain node upgrade proposal:
hid-noded tx gov submit-proposal software-upgrade <Proposal Name> \
--title "<Proposal Title>" \
--description "<Proposal Description>" \
--upgrade-height "<Blockchain Height at which the upgrade should occur>" \
--deposit "<Deposit for the proposal>" \
--chain-id <Chain ID> \
--from <wallet-address> \
--yes
  • Query the list of proposals
hid-noded q gov proposals
Proposal IDs start with 1, which means that the first proposal submitted on chain, would have the proposal ID, and subsequent proposals will have their ID incremented by 1.
  • Run the following to vote on the proposal
hid-noded tx gov vote <Proposal ID> <Vote=(yes|no|abstain|no_with_veto)> \
--from <wallet-address> \
--chain-id <Chain ID>
  • You can check the status of the proposal
hid-noded q gov proposal <Proposal ID>

If the Software Upgrade proposal is Passed, then following steps are needed to be performed in order to upgrade your node.
  • Download and Install the latest binary.
  • Create the following directory structure
mkdir -p <Binary Config Directory>/cosmovisor/upgrades/<Proposal Name>/bin
Note: Make sure that <Proposal Name> matches exactly with Upgrade Proposal's name
  • Copy the latest binary to the newly created directory
cp <Update Binary Location> <Binary Config Directory>/cosmovisor/upgrades/<Proposal Name>/bin
  • At the the proposed height, the upgrade would take place automatically.
Copy link
Edit on GitHub
On this page
Proposal Structure
Submitting Node Upgrade Proposal
Steps for Node Upgrade