Skip to main content

Epix Upgrade

Upgrade to v0.5.3

Manual upgrade

Loading data...
cd $HOME && rm -rf epix && \
git clone https://github.com/EpixZone/EpixChain.git epix && cd epix && \
git fetch --tags && \
git checkout v0.5.3 && \
make build && \
sudo mv build/epixd $(which epixd) && \
sudo service epix restart && \
sudo journalctl -fu epix -o cat

Cosmovisor upgrade

Note

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

cd $HOME && rm -rf epix && \
git clone https://github.com/EpixZone/EpixChain.git epix && cd epix && \
git fetch --tags && \
git checkout v0.5.3 && \
make build && \
mkdir -p $HOME/.epixd/cosmovisor/upgrades/v0.5.3/bin && \
mv build/epixd $HOME/.epixd/cosmovisor/upgrades/v0.5.3/bin/

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

cd "$HOME/.epixd/cosmovisor" && ln -sfn "upgrades/v0.5.3" current && ls -l current

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