π¬Updates
FOLDER=.warden
# 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'UPD π on v0.7.0 (Update Height: 1233000)
cd $HOME/wardenprotocol
git pull
git checkout v0.7.0
#just wardend
go build -tags "netgo" -trimpath -ldflags "
-s -w
-X github.com/cosmos/cosmos-sdk/version.Name=warden
-X github.com/cosmos/cosmos-sdk/version.AppName=wardend
-X github.com/cosmos/cosmos-sdk/version.Version=v0.7.0
-X github.com/cosmos/cosmos-sdk/version.Commit=bbb3d8ef4d6041827184a7b5a4d0de7ab6976e18" \
-o ./build/wardend ./cmd/wardend
$HOME/wardenprotocol/build/wardend version --long | grep -e commit -e version
# version: v0.7.0
# commit: bbb3d8ef4d6041827184a7b5a4d0de7ab6976e18
# AFTER STOPPING THE NETWORK ON THE REQUIRED BLOCK!
systemctl stop wardend
mv $HOME/wardenprotocol/build/wardend $(which wardend)
wardend version --long | grep -e version -e commit
# version:
systemctl restart wardend && journalctl -u wardend -f -o catUPD π on v0.7.1 (Update Height: immediately)
UPD π on v0.7.2 (Update Height: 1310000)
UPD π on v0.7.4-2 (Update Height: 3265800)
Last updated