Skip to main content

Upgrade

Chain ID: mantra-hongbai-1 | Current Node Version: v3.0.0

With Cosmovisor

Clone Mantra repository

cd $HOME
rm -rf public
git clone https://github.com/MANTRA-Finance/public.git
cd public
git checkout v3.0.0

Build binaries

make build

Prepare binaries for Cosmovisor

mkdir -p ~/.mantrachaind/cosmovisor/upgrades/v3.0.0/bin
mv build/mantrachaind ~/.mantrachaind/cosmovisor/upgrades/v3.0.0/bin/
rm -rf build

Without Cosmovisor

Clone Mantra repository

cd $HOME
rm -rf public
git clone https://github.com/MANTRA-Finance/public.git
cd public
git checkout v3.0.0

Build binaries

make install

Restart node and check logs

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