Skip to main content

Passage Upgrade

Upgrade to v2.6.0

Manual upgrade

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

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

cd "$HOME/.passage/cosmovisor" && ln -sfn "upgrades/v2.6.0" current && ls -l current

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