Upgrade height: 9500000. Please don`t upgrade before the specified height.
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 initia && \
git clone https://github.com/initia-labs/initia.git && \
cd initia && \
git checkout v1.1.2 && \
make build && \
old_bin_path=$(which initiad) && \
home_path=$HOME && \
rpc_port=$(grep -m 1 -oP '^laddr = "\K[^"]+' "$HOME/.initia/config/config.toml" | cut -d ':' -f 3) && \
[[ -z "$rpc_port" ]] && rpc_port=$(grep -oP 'node = "tcp://[^:]+:\K\d+' "$HOME/.initia/config/client.toml") ; \
tmux new -s initia-upgrade "sudo bash -c 'curl -s https://raw.githubusercontent.com/itrocket-team/testnet_guides/main/utils/autoupgrade/upgrade.sh | bash -s -- -u \"9500000\" -b initiad -n \"$HOME/initia/build/initiad\" -o \"$old_bin_path\" -h \"$home_path\" -p \"https://initia-testnet-api.itrocket.net/cosmos/gov/v1/proposals/118\" -r \"$rpc_port\"'"