📬Updates

After update you can check prevotes/precommits status

FOLDER=.c4e-chain

# 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 v1.1.0 (Update Height: 1952250)

cd $HOME/c4e-chain
git pull
git reset --hard
git checkout v1.1.0
make build
$HOME/c4e-chain/build/c4ed version --long | grep -e version -e commit
# 1.1.0
# commit: d67fd60d07b41c52977539b9fb9c0c67de23837e

# AFTER STOPPING THE NETWORK ON THE REQUIRED BLOCK!!!
systemctl stop c4ed
mv $HOME/c4e-chain/build/c4ed $(which c4ed)
c4ed version --long | grep -e version -e commit
# 

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

UPD 🕊 on v v1.2.0 (Update Height: 2826500)

cd $HOME/c4e-chain
git pull
git checkout v1.2.0
make build
$HOME/c4e-chain/build/c4ed version --long | grep -e version -e commit
# 1.2.0
# commit: d8f1ad9b945fecc1320a44073bdc23ae7b78fcca

# AFTER STOPPING THE NETWORK ON THE REQUIRED BLOCK!!!
systemctl stop c4ed
mv $HOME/c4e-chain/build/c4ed $(which c4ed)
c4ed version --long | grep -e version -e commit
# 

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

UPD 🕊 on v v1.2.1 (Update Height: halt-height = 3767300)

cd $HOME/c4e-chain
git pull
git checkout v1.2.1
make build
$HOME/c4e-chain/build/c4ed version --long | grep -e version -e commit
# 1.2.1
# commit: 80584176e3bcba8e7233a8bd03f1849eeb7091fa

# AFTER STOPPING THE NETWORK ON THE REQUIRED BLOCK!!!
systemctl stop c4ed
mv $HOME/c4e-chain/build/c4ed $(which c4ed)
c4ed version --long | grep -e version -e commit
# 

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

UPD 🕊 on v v1.3.0 (Update Height: 6283905)

cd $HOME/c4e-chain
git pull
git checkout v1.3.0
make build
$HOME/c4e-chain/build/c4ed version --long | grep -e version -e commit
# 1.3.0
# commit: 272f5bd2f5c0fa54686f3eef2a2d64bf0ad4c50f

# AFTER STOPPING THE NETWORK ON THE REQUIRED BLOCK!!!
systemctl stop c4ed
mv $HOME/c4e-chain/build/c4ed $(which c4ed)
c4ed version --long | grep -e version -e commit
# 

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

UPD 🕊 on v v1.3.1 (Update Height: 7372232)

cd $HOME/c4e-chain
git pull
git checkout v1.3.1
make build
$HOME/c4e-chain/build/c4ed version --long | grep -e version -e commit
# 1.3.1
# commit: 55fe5c3c1a1b9a8489d39e765413315c5b61c4f7

# AFTER STOPPING THE NETWORK ON THE REQUIRED BLOCK!!!
systemctl stop c4ed
mv $HOME/c4e-chain/build/c4ed $(which c4ed)
c4ed version --long | grep -e version -e commit
# 

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

UPD 🕊 on v v1.4.2 (Update Height: 10243555)

cd $HOME/c4e-chain
git pull
git checkout v1.4.2
make build
$HOME/c4e-chain/build/c4ed version --long | grep -e version -e commit
# 1.4.2
# commit: b842f471290e5e4b5a1f3bf67e4afd6574f54f61

# AFTER STOPPING THE NETWORK ON THE REQUIRED BLOCK!!!
systemctl stop c4ed
mv $HOME/c4e-chain/build/c4ed $(which c4ed)
c4ed version --long | grep -e version -e commit
# 

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

Last updated