Skip to main content

Upgrade

Chain ID: diamond-1 | Current Node Version: v5.16.20

Clone Zenrock repository

cd $HOME
rm -rf zrchain
git clone https://github.com/Zenrock-Foundation/zrchain.git
cd zrchain
git checkout v5.16.20

Build binaries

make build

Prepare binaries for Cosmovisor

mkdir -p ~/.zrchain/cosmovisor/upgrades/v5.16.20/bin
mv build/zenrockd ~/.zrchain/cosmovisor/upgrades/v5.16.20/bin/
rm -rf build

Without Cosmovisor

Clone Zenrock repository

cd $HOME
rm -rf zrchain
git clone https://github.com/Zenrock-Foundation/zrchain.git
cd zrchain
git checkout v5.16.20

Build binaries

make install

Restart node and check logs

sudo systemctl restart zenrockd && sudo journalctl -u zenrockd -f --no-hostname -o cat