Upgrade

Current Version
Upgrade Folder

v0.1.0

v0.1.0

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

Downloading and installing Binary

sudo systemctl stop empe
curl -LO https://github.com/empe-io/empe-chain-releases/raw/master/v0.1.0/emped_linux_amd64.tar.gz
tar -xvf emped_linux_amd64.tar.gz 
sudo mv emped ~/go/bin/
chmod u+x ~/go/bin/emped 


sudo systemctl start empe

For Cosmovisor Users

# Downloading and installing Binary
curl -LO https://github.com/empe-io/empe-chain-releases/raw/master/v0.1.0/emped_linux_amd64.tar.gz
tar -xvf emped_linux_amd64.tar.gz 
sudo mv emped ~/go/bin/
chmod u+x ~/go/bin/emped 


# Making New Binary Directory and Copying the Daemon
mkdir -p $HOME/.empe-chain/cosmovisor/upgrades/v0.1.0/bin
sudo cp $HOME/go/bin/emped $HOME/.empe-chain/cosmovisor/upgrades/v0.1.0/bin/

#Stop empe daemon
sudo systemctl stop empe

#creating symlink to new binaries
ls -l $HOME/.empe-chain/cosmovisor/current
rm $HOME/.empe-chain/cosmovisor/current
ln -s $HOME/.empe-chain/cosmovisor/upgrades/v0.1.0 $HOME/.empe-chain/cosmovisor/current

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

Last updated