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