cd $HOME/cheqd-node
git pull
git checkout v4.0.0
make build
mv /root/cheqd-node/build/cheqd-noded $(which cheqd-noded)
cheqd-noded version --long | grep -e version -e commit
#commit: 03ec073e2157e01d240a82ee41930073ab8ae507
#version: v1.4.6-pseudo-version-4.0.0
sudo systemctl restart cheqd-noded && sudo journalctl -fu cheqd-noded -n100 -ocat
#consensus
curl -s http://localhost:26657/consensus_state | jq '.result.round_state.height_vote_set[0].prevotes_bit_array'