Skip to main content

Side Upgrade

Upgrade to v2.0.0-rc.5

Manual upgrade

Loading data...
cd $HOME && rm -rf side && \
git clone https://github.com/sideprotocol/side.git && cd side && \
git checkout v2.0.0-rc.5 && \
make build && \
chmod +x build/sided && \
sudo mv build/sided $(which sided) && \
sudo service sided restart && \
sudo journalctl -fu sided -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 side && \
git clone https://github.com/sideprotocol/side.git && cd side && \
git checkout v2.0.0-rc.5 && \
make build && \
chmod +x build/sided && \
mkdir -p $HOME/.side/cosmovisor/upgrades/v2.0.0-rc.5/bin && \
mv build/sided $HOME/.side/cosmovisor/upgrades/v2.0.0-rc.5/bin/

Note: if you see this in your node’s logs: UPGRADE "v2.0.0-rc.5" NEEDED at height: 93600 then force Cosmovisor to point at the new upgrade directory:

cd "$HOME/.side/cosmovisor" && ln -sfn "upgrades/v2.0.0-rc.5" current && ls -l current

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