Kopi Upgrade
Upgrade to v22-rc4
Manual upgrade
Loading data...
cd $HOME && rm -rf kopi && \
git clone https://github.com/kopi-money/kopi.git kopi && cd kopi && \
git fetch --tags && \
git checkout v22-rc4 && \
make build && \
sudo mv bin/kopid $(which kopid) && \
sudo service kopi restart && \
sudo journalctl -fu kopi -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 kopi && \
git clone https://github.com/kopi-money/kopi.git kopi && cd kopi && \
git fetch --tags && \
git checkout v22-rc4 && \
make build && \
mkdir -p $HOME/.kopid/cosmovisor/upgrades/v22-rc2/bin && \
mv bin/kopid $HOME/.kopid/cosmovisor/upgrades/v22-rc2/bin/
Note: if you see this in your node’s logs:
UPGRADE "v22-rc2" NEEDED at height: 10163000
then force Cosmovisor to point at the new upgrade directory:
cd "$HOME/.kopid/cosmovisor" && ln -sfn "upgrades/v22-rc2" current && ls -l current
This tells Cosmovisor to use the v22-rc4
binary as the “current” release so it won’t error on startup.