πŸ“¬Updates

After update you can check prevotes/precommits status

FOLDER=.junctiond

echo -e "\033[0;32m$(grep -A 3 "\[rpc\]" ~/$FOLDER/config/config.toml | egrep -o ":[0-9]+")\033[0m"

PORT=<enter your port>

# Checking prevotes/precommits. Useful for updates
curl -s localhost:$PORT/consensus_state | jq '.result.round_state.height_vote_set[0].prevotes_bit_array' && \
curl -s localhost:$PORT/consensus_state | jq '.result.round_state.height_vote_set[0].precommits_bit_array'

UPD πŸ•Š on v0.3.2 (Update Height: 451850)

mkdir -p $HOME/airchains && cd airchains
wget -O junctiond https://github.com/airchains-network/junction/releases/download/v0.3.2/junctiond-linux-amd64
chmod +x junctiond
$HOME/airchains/junctiond version --long | grep -e version -e commit
# version: v0.3.2
# commit: e897160cebbb7ca4991353dcb6b42a571dfe793d

# AFTER THE NETWORK IS STOPPED ON THE REQUIRED BLOCK!!!
systemctl stop junctiond
mv $HOME/airchains/junctiond $(which junctiond)
junctiond version --long | grep -e version -e commit
# 

systemctl restart junctiond && journalctl -u junctiond -f -o cat

Last updated