Upgrade
Prepare for and the upcomming chain upgrade using Cosmovisor.

Chain ID: cosmoshub-4 | Latest Version Tag: v20.0.0
Download and build upgrade binaries
# Clone project repository
cd $HOME
rm -rf cosmos
git clone https://github.com/cosmos/gaia cosmos
cd cosmos
git checkout v20.0.0
# Build binaries
make build && make install
# Prepare binaries for Cosmovisor
mkdir -p $DAEMON_HOME/cosmovisor/upgrades/v20.0.0/bin && cp $HOME/go/bin/gaiad $DAEMON_HOME/cosmovisor/upgrades/v20.0.0/bin
$DAEMON_HOME/cosmovisor/upgrades/v20.0.0/bin/gaiad version
rm -rf build
Thats it! Now when upgrade block height is reached, Cosmovisor will handle it automatically!
Last updated