πŸ“¬Updates

After update you can check prevotes/precommits status

FOLDER=.layer

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

PORT=<enter_your_port>

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'

Updates are available for information. Boot via State sync or Snapshot to avoid installing all updates. In this case, you must use the actual version of the binary file and genesis

UPD πŸ•Š on v (Update Height: )

cd $HOME/layer
git pull
git checkout v
make build
$HOME/layer/build/layerd version --long | grep -e version -e commit
# version: 
# commit: 

# # ΠŸΠžΠ‘Π›Π• ΠžΠ‘Π’ΠΠΠžΠ’ΠšΠ˜ Π‘Π•Π’Π˜ НА ΠΠ£Π–ΠΠžΠœ Π‘Π›ΠžΠšΠ•!!!
systemctl stop layerd
mv $HOME/layer/build/layerd $(which layerd)
layerd version --long | grep -e version -e commit
#

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

Last updated