Upgrade

Current Version
Upgrade Folder

v5.11.4

v5rev5

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

Downloading and installing Binary

sudo systemctl stop zenrock
cd $HOME
git clone https://github.com/Zenrock-Foundation/zrchain 
cd zrchain
git pull
git checkout v5.11.4
make install

sudo systemctl start zenrock

For Cosmovisor Users

# Downloading and installing Binary
cd $HOME
git clone https://github.com/Zenrock-Foundation/zrchain 
cd zrchain
git pull
git checkout v5.11.4
make install

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

#Stop zenrock daemon
sudo systemctl stop zenrock

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

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

Last updated