Stargaze Upgrade
Upgrade to v17.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 v17.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 v17.0.0 && \
make build && \
chmod +x bin/starsd && \
mkdir -p $HOME/.starsd/cosmovisor/upgrades/v17/bin && \
mv bin/starsd $HOME/.starsd/cosmovisor/upgrades/v17/bin/
Note: if you see this in your node’s logs:
UPGRADE "v17" NEEDED at height: 23132641
then force Cosmovisor to point at the new upgrade directory:
cd "$HOME/.starsd/cosmovisor" && ln -sfn "upgrades/v17" current && ls -l current
This tells Cosmovisor to use the v17.0.0
binary as the “current” release so it won’t error on startup.