Canto

Canto v5.0.0 Upgrade

LFG!

This guide assumes that you use cosmovisor to manage upgrades. If you do not use cosmovisor, please adjust some commands accordingly.

The upgrade is scheduled for Block 2669495. It is estimated to take place 1 year ago. A countdown clock is here. The governance proposal is here.

Install New Binary

cd canto
git pull
git checkout v5.0.0
make install

Check Version

# should be v5.0.0
cantod version

# Should be commit v5.0.0
cantod version --long | grep commit

Make Cosmovisor Directory and Copy Binary

mkdir -p $HOME/.cantod/cosmovisor/upgrades/v5.0.0/bin
cp $HOME/go/bin/cantod $HOME/.cantod/cosmovisor/upgrades/v5.0.0/bin

Check Version Again

# should be v5.0.0
$HOME/.cantod/cosmovisor/upgrades/v5.0.0/bin/cantod version