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