Skip to main content

Stargaze Upgrade

Upgrade to v18.0.0

Manual upgrade

Loading data...
cd $HOME && rm -rf stargaze && \
git clone https://github.com/public-awesome/stargaze.git stargaze && cd stargaze && \
git checkout v18.0.0 && \
make build && \
chmod +x bin/starsd && \
sudo mv bin/starsd $(which starsd) && \
sudo service stargaze restart && \
sudo journalctl -fu stargaze -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 stargaze && \
git clone https://github.com/public-awesome/stargaze.git stargaze && cd stargaze && \
git checkout v18.0.0 && \
make build && \
chmod +x bin/starsd && \
mkdir -p $HOME/.starsd/cosmovisor/upgrades/v18/bin && \
mv bin/starsd $HOME/.starsd/cosmovisor/upgrades/v18/bin/
**Note:** if you see this in your node’s logs:UPGRADE "v18" NEEDED at height: 30758101then force Cosmovisor to point at the new upgrade directory:
cd "$HOME/.starsd/cosmovisor" && ln -sfn "upgrades/v18" current && ls -l current
This tells Cosmovisor to use the v18.0.0 binary as the “current” release so it won’t error on startup.