Skip to main content

Upgrade

Chain ID: zetachain_7000-1 | Current Node Version: v20.0.2

Clone Zetachain repository

cd $HOME
rm -rf zeta-chain
git clone https://github.com/zeta-chain.git
cd zeta-chain
git checkout v20.0.2

Build binaries

make build

Prepare binaries for Cosmovisor

mkdir -p ~/.zetacored/cosmovisor/upgrades/v20.0.2/bin
mv build/zetacored ~/.zetacored/cosmovisor/upgrades/v20.0.2/bin/
rm -rf build

Without Cosmovisor

Clone Zetachain repository

cd $HOME
rm -rf zeta-chain
git clone https://github.com/zeta-chain.git
cd zeta-chain
git checkout v20.0.2

Build binaries

make install

Restart node and check logs

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