Skip to main content

Upgrade

Chain ID: mocha-4 | Current Node Version: 3.2.0-mocha

With Cosmovisor

Clone Celestia repository

cd $HOME
rm -rf celestia-app
git clone https://github.com/celestiaorg/celestia-app.git
cd celestia-app
git checkout 3.2.0-mocha

Build binaries

make build

Prepare binaries for Cosmovisor

mkdir -p ~/.celestia-app/cosmovisor/upgrades/3.2.0-mocha/bin
mv build/celestia-appd ~/.celestia-app/cosmovisor/upgrades/3.2.0-mocha/bin/
rm -rf build

Without Cosmovisor

Clone Celestia repository

cd $HOME
rm -rf celestia-app
git clone https://github.com/celestiaorg/celestia-app.git
cd celestia-app
git checkout 3.2.0-mocha

Build binaries

make install

Restart node and check logs

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