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