cd $HOME/cheqd-node
git pull
git checkout v3.1.8
make build
mv /root/cheqd-node/build/cheqd-noded $(which cheqd-noded)
cheqd-noded version --long | grep -e version -e commit
#commit: ae5e5e7fcd2f08439efcd153c34ce6fde4b51c66
#version: HEAD-ae5e5e7fcd2f08439efcd153c34ce6fde4b51c66
sudo systemctl restart cheqd-noded && sudo journalctl -fu cheqd-noded -o cat
#consensus
curl -s http://localhost:26657/consensus_state | jq '.result.round_state.height_vote_set[0].prevotes_bit_array'