➡️ v0.6.2 Update

BEFORE THE UPGRADE BLOCK

Cleaning Up Old Preparation

First, we need to remove any old upgrade information in the data directory. Since the upgrade proposal has been opened with the same name, if we don’t remove it, cosmovisor will persistently try to use the binary in the v054-to-v060 directory.

1. Stop the Service

cd $HOME
sudo systemctl stop wardend

2. Clean Up Old Upgrade Data

rm -rf $HOME/.warden/cosmovisor/upgrades
rm -rf $HOME/.warden/data/upgrade-info.json

3. Set Genesis as Default

Note: Skip this step if you’re already using genesis as default. Don’t skip these steps if you previously put v0.5.4 into the v054-to-v060 directory for a quicker setup.

sudo ln -sfn $HOME/.warden/cosmovisor/genesis $HOME/.warden/cosmovisor/current
sudo ln -sfn $HOME/.warden/cosmovisor/current/bin/wardend /usr/local/bin/wardend

4. Start the Service

sudo systemctl start wardend && sudo journalctl -fu wardend -o cat

Preparing for the Upgrade

1. Create Upgrade Directories and Download the Binary

cd $HOME
mkdir -p $HOME/.warden/cosmovisor/upgrades/v054-to-v060/bin
wget https://github.com/warden-protocol/wardenprotocol/releases/download/v0.6.2/wardend-0.6.2-linux-amd64 -O $HOME/.warden/cosmovisor/upgrades/v054-to-v060/bin/wardend
chmod +x $HOME/.warden/cosmovisor/upgrades/v054-to-v060/bin/wardend

2. Check Version

$HOME/.warden/cosmovisor/upgrades/v054-to-v060/bin/wardend version
If the version shows as 0.6.2, the preparation is complete.

AFTER THE UPGRADE BLOCK

1. Stop the Service and Download the Binary

cd $HOME
sudo systemctl stop wardend
mkdir -p $HOME/.warden/cosmovisor/upgrades/v054-to-v060/bin
wget https://github.com/warden-protocol/wardenprotocol/releases/download/v0.6.2/wardend-0.6.2-linux-amd64 -O $HOME/.warden/cosmovisor/upgrades/v054-to-v060/bin/wardend
chmod +x $HOME/.warden/cosmovisor/upgrades/v054-to-v060/bin/wardend

2. Activate the New Version

sudo ln -sfn $HOME/.warden/cosmovisor/upgrades/v054-to-v060 $HOME/.warden/cosmovisor/current
sudo ln -sfn $HOME/.warden/cosmovisor/current/bin/wardend /usr/local/bin/wardend

3. Restart and Monitor the Service

sudo systemctl restart wardend
sudo journalctl -fu wardend -o cat