Upgrade

Current Version
Upgrade Folder

v1.5.0

v1.5.0

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

Downloading and installing Binary

sudo systemctl stop nibiru
cd $HOME
git clone https://github.com/NibiruChain/nibiru.git 
cd nibiru
git pull
git checkout v1.5.0
make install

sudo systemctl start nibiru

For Cosmovisor Users

# Downloading and installing Binary
cd $HOME
git clone https://github.com/NibiruChain/nibiru.git 
cd nibiru
git pull
git checkout v1.5.0
make install

# Making New Binary Directory and Copying the Daemon
mkdir -p $HOME/.nibid/cosmovisor/upgrades/v1.5.0/bin
sudo cp $HOME/go/bin/nibid $HOME/.nibid/cosmovisor/upgrades/v1.5.0/bin/

#Stop nibiru daemon
sudo systemctl stop nibiru

#creating symlink to new binaries
ls -l $HOME/.nibid/cosmovisor/current
rm $HOME/.nibid/cosmovisor/current
ln -s $HOME/.nibid/cosmovisor/upgrades/v1.5.0 $HOME/.nibid/cosmovisor/current

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

Last updated