Upgrade

Current Version
Upgrade Folder

v24.0.0

v24

This guide assumes that the current systemd file is named as zetachain

Downloading and installing Binary

sudo systemctl stop zetachain
cd $HOME
git clone https://github.com/zeta-chain/node 
cd zetachain
git pull
git checkout v24.0.0
make install

sudo systemctl start zetachain

For Cosmovisor Users

# Downloading and installing Binary
cd $HOME
git clone https://github.com/zeta-chain/node
mv node zetachain
cd zetachain
git pull
git checkout v24.0.0
make install

# Making New Binary Directory and Copying the Daemon
mkdir -p $HOME/.zetacored/cosmovisor/upgrades/v24/bin
sudo cp $HOME/go/bin/zetacored $HOME/.zetacored/cosmovisor/upgrades/v24/bin/

#Stop zetachain daemon
sudo systemctl stop zetachain

#creating symlink to new binaries
ls -l $HOME/.zetacored/cosmovisor/current
rm $HOME/.zetacored/cosmovisor/current
ln -s $HOME/.zetacored/cosmovisor/upgrades/v24 $HOME/.zetacored/cosmovisor/current

#starting zetachain
sudo systemctl start zetachain && sudo journalctl -u zetachain -f -o cat

Last updated