Upgrade

Current Version
Upgrade Folder

v1.4.0

v1.4.0

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

Downloading and installing Binary

sudo systemctl stop elys
cd $HOME
git clone https://github.com/elys-network/elys.git 
cd elys
git pull
git checkout v1.4.0

make install

sudo systemctl start elys

For Cosmovisor Users

# Downloading and installing Binary
cd $HOME
git clone https://github.com/elys-network/elys.git 
cd elys
git pull
git checkout v1.4.0
make install

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

#Stop elys daemon
sudo systemctl stop elys

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

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

Last updated