Skip to main content

Empeiria Upgrade

Upgrade to v0.4.0

Manual upgrade

Loading data...
rm -rf $HOME/bin && mkdir $HOME/bin && cd $HOME/bin && \
wget https://github.com/empe-io/empe-chain-releases/raw/master/v0.4.0/emped_v0.4.0_linux_amd64.tar.gz && \
tar -xvf emped_v0.4.0_linux_amd64.tar.gz && \
chmod +x emped && \
sudo mv emped $(which emped) && \
sudo service empeiria restart && \
sudo journalctl -fu empeiria -o cat

Cosmovisor upgrade

Note

Choose this method only if you're using Cosmovisor to manage binaries and automate chain upgrades.

rm -rf $HOME/bin && mkdir $HOME/bin && cd $HOME/bin && \
wget https://github.com/empe-io/empe-chain-releases/raw/master/v0.4.0/emped_v0.4.0_linux_amd64.tar.gz && \
tar -xvf emped_v0.4.0_linux_amd64.tar.gz && \
chmod +x emped && \
mkdir -p $HOME/.empe-chain/cosmovisor/upgrades/v0.4.0/bin && \
mv emped $HOME/.empe-chain/cosmovisor/upgrades/v0.4.0/bin/

Note: if you see this in your node’s logs: UPGRADE "v0.4.0" NEEDED at height: 5215651 then force Cosmovisor to point at the new upgrade directory:

cd "$HOME/.empe-chain/cosmovisor" && ln -sfn "upgrades/v0.4.0" current && ls -l current

This tells Cosmovisor to use the v0.4.0 binary as the “current” release so it won’t error on startup.