Upgrade height: 627000. Please don`t upgrade before the specified height
Manual upgrade
cd $HOME
rm -rf bin
mkdir bin
cd bin
wget -O xion.zip https://github.com/burnt-labs/xion/releases/download/v17.1.0/xiond_17.1.0_linux_amd64.zip
unzip xion.zip
chmod +x $HOME/bin/xiond
sudo mv $HOME/bin/xiond $(which xiond)
sudo systemctl restart xiond && sudo journalctl -u xiond -f
Auto upgrade
Don't kill the session with CTRL+C before update is completed, if you want to disconnect the session use CTRL+B D
cd $HOME && \
rm -rf bin && \
mkdir bin && \
cd bin && \
wget -O xion.zip https://github.com/burnt-labs/xion/releases/download/v17.1.0/xiond_17.1.0_linux_amd64.zip && \
unzip xion.zip && \
chmod +x $HOME/bin/xiond && \
old_bin_path=$(which xiond) && \
home_path=$HOME && \
rpc_port=$(grep -m 1 -oP '^laddr = "\K[^"]+' "$HOME/.xiond/config/config.toml" | cut -d ':' -f 3) && \
[[ -z "$rpc_port" ]] && rpc_port=$(grep -oP 'node = "tcp://[^:]+:\K\d+' "$HOME/.xiond/config/client.toml") ; \
tmux new -s burnt-upgrade "sudo bash -c 'curl -s https://raw.githubusercontent.com/itrocket-team/testnet_guides/main/utils/autoupgrade/upgrade.sh | bash -s -- -u \"627000\" -b xiond -n \"$HOME/bin/xiond\" -o \"$old_bin_path\" -h \"$home_path\" -p \"undefined\" -r \"$rpc_port\"'"