Skip to main content

Epix Upgrade

Upgrade to v0.7.2

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.7.2 && \
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.7.2 && \
make build && \
mkdir -p $HOME/.epixd/cosmovisor/upgrades/v0.7.2/bin && \
mv build/epixd $HOME/.epixd/cosmovisor/upgrades/v0.7.2/bin/

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

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

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