Skip to content

Instantly share code, notes, and snippets.

@the-frey
Last active July 7, 2022 19:56
Show Gist options
  • Save the-frey/0e528bdd6f183212d3e349290806b55b to your computer and use it in GitHub Desktop.
Save the-frey/0e528bdd6f183212d3e349290806b55b to your computer and use it in GitHub Desktop.
# first - STOP YOUR SERVICE!
# DO NOT unsafe-reset-all at any point
# if your database broke you will need to sync from a snapshot
# build version v8.0.0
cd juno
git fetch --tags && git checkout v8.0.0
make build && make install
# this will return commit d0d9f36c5cb4e0128d903bbfd41c96266f0496d8
junod version --long
# cosmovisor users will need to stage and then restart
mkdir -p $DAEMON_HOME/cosmovisor/upgrades/multiverse/bin && cp $HOME/go/bin/junod $DAEMON_HOME/cosmovisor/upgrades/multiverse/bin
# this will return v8.0.0
$DAEMON_HOME/cosmovisor/upgrades/multiverse/bin/junod version
# cosmovisor users - you can now restart
# people not running cosmovisor, switch your binary then start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment