Skip to main content

Upgrade

Chain ID: osmosis-1 | Current Node Version: v28.0.0

Clone Osmosis repository

cd $HOME
rm -rf osmosis
git clone https://github.com/osmosis-labs/osmosis.git
cd osmosis
git checkout v28.0.0

Build binaries

make build

Prepare binaries for Cosmovisor

mkdir -p ~/.osmosisd/cosmovisor/upgrades/v28.0.0/bin
mv build/osmosisd ~/.osmosisd/cosmovisor/upgrades/v28.0.0/bin/
rm -rf build

Without Cosmovisor

Clone Osmosis repository

cd $HOME
rm -rf osmosis
git clone https://github.com/osmosis-labs/osmosis.git
cd osmosis
git checkout v28.0.0

Build binaries

make install

Restart node and check logs

sudo systemctl restart osmosisd && sudo journalctl -u osmosisd -f --no-hostname -o cat