cd $HOME/ && rm -rf elys
git clone https://github.com/elys-network/elys.git
cd elys
git checkout v2.2.0
make install
elysd version --long | grep -e commit -e version
#version: v2.2.0
#commit: e589417b6d6adeb25089485d8a8895eef2935fb6
sudo systemctl restart elysd && sudo journalctl -fu elysd -o cat
#consensus
curl -s http://localhost:26657/consensus_state | jq '.result.round_state.height_vote_set[0].prevotes_bit_array'