Skip to content

Choose a network

Height10,718,211 Producing blocks Chain IDatomone-1 Versionv4.1.0 Explorer (opens in a new tab)

AtomOne upgrade

Upgrade to v4.1.0 at height 9,550,000.

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

Manual upgrade

cd $HOME && rm -rf atomone && \
git clone https://github.com/atomone-hub/atomone atomone && cd atomone && \
git fetch --tags && \
git checkout v4.1.0 && \
make build && \
sudo mv build/atomoned $(which atomoned) && \
sudo service atomone restart && \
sudo journalctl -fu atomone -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 atomone && \
git clone https://github.com/atomone-hub/atomone atomone && cd atomone && \
git fetch --tags && \
git checkout v4.1.0 && \
make build && \
mkdir -p $HOME/.atomone/cosmovisor/upgrades/v4/bin && \
mv build/atomoned $HOME/.atomone/cosmovisor/upgrades/v4/bin/

If the logs show UPGRADE "v4" NEEDED at height: 9550000, point Cosmovisor at the new folder:

cd "$HOME/.atomone/cosmovisor" && ln -sfn "upgrades/v4" current && ls -l current

Cosmovisor then runs v4.1.0 as its current release and starts without the error.