Skip to content

Choose a network

Height7,082,778 Chain halted Chain IDbitway-1 Version2.0.2 Explorer (opens in a new tab)

Bitway upgrade

Upgrade to v2.0.1 at height 3,424,000.

Upgrade height: 3,424,000 (opens in a new tab). Don't upgrade before the chain reaches it.

Manual upgrade

cd $HOME && rm -rf bitway && \
git clone https://github.com/bitwaylabs/bitway.git bitway && cd bitway && \
git fetch --tags && \
git checkout v2.0.1 && \
make build && \
sudo mv build/bitwayd $(which bitwayd) && \
sudo service bitway restart && \
sudo journalctl -fu bitway -o cat

Cosmovisor upgrade

Only if Cosmovisor runs your node: it switches to the new binary at the upgrade height by itself.

cd $HOME && rm -rf bitway && \
git clone https://github.com/bitwaylabs/bitway.git bitway && cd bitway && \
git fetch --tags && \
git checkout v2.0.1 && \
make build && \
mkdir -p $HOME/.bitway/cosmovisor/upgrades/v2.0.1/bin && \
mv build/bitwayd $HOME/.bitway/cosmovisor/upgrades/v2.0.1/bin/

If the logs show UPGRADE "v2.0.1" NEEDED at height: 3424000, point Cosmovisor at the new folder:

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

Cosmovisor then runs v2.0.1 as its current release and starts without the error.