Skip to main content

Upgrade

Chain ID: swisstronik_1291-1 | Current Node Version: v1.0.6

With Cosmovisor

Clone Swisstronik repository

cd $HOME
rm -rf SigmaGmbH
git clone https://github.com/SigmaGmbH.git
cd SigmaGmbH
git checkout v1.0.6

Build binaries

make build

Prepare binaries for Cosmovisor

mkdir -p ~/.swisstronik/cosmovisor/upgrades/v1.0.6/bin
mv build/swisstronikd ~/.swisstronik/cosmovisor/upgrades/v1.0.6/bin/
rm -rf build

Without Cosmovisor

Clone Swisstronik repository

cd $HOME
rm -rf SigmaGmbH
git clone https://github.com/SigmaGmbH.git
cd SigmaGmbH
git checkout v1.0.6

Build binaries

make install

Restart node and check logs

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