Skip to main content

Upgrade

Upgrade to

Manual upgrade

Loading data...
cd $HOME && rm -rf  && \
git clone && cd && \
git fetch --tags && \
git checkout && \
make build && \
sudo mv build/ $(which ) && \
sudo service restart && \
sudo journalctl -fu -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  && \
git clone && cd && \
git fetch --tags && \
git checkout && \
make build && \
mkdir -p $HOME//cosmovisor/upgrades//bin && \
mv build/ $HOME//cosmovisor/upgrades//bin/

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

cd "$HOME//cosmovisor" && ln -sfn "upgrades/" current && ls -l current

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