> For the complete documentation index, see [llms.txt](https://utsa.gitbook.io/services/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://utsa.gitbook.io/services/testnet/warden-protocol/updates.md).

# Updates

##

{% hint style="success" %}

### After update you can check prevotes/precommits status

{% endhint %}

```shell
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'
```

{% hint style="warning" %}
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
{% endhint %}

## UPD 🕊 on v0.7.0 (Update Height: 1233000)

```shell
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 cat
```

## UPD 🕊 on v0.7.1 (Update Height: immediately)

```shell
cd $HOME/wardenprotocol
git pull
git checkout v0.7.1
#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.1
    -X github.com/cosmos/cosmos-sdk/version.Commit=028207012cd43509ce9a60e31df22b476b00de1e" \
    -o ./build/wardend ./cmd/wardend

$HOME/wardenprotocol/build/wardend version --long | grep -e commit -e version
# version: v0.7.1
# commit: 028207012cd43509ce9a60e31df22b476b00de1e

# 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 cat
```

## UPD 🕊 on v0.7.2 (Update Height: 1310000)

```shell
cd $HOME/wardenprotocol
git pull
git checkout v0.7.2
#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.2
    -X github.com/cosmos/cosmos-sdk/version.Commit=b5221f6468410004de503cd5f66273e6a467369a" \
    -o ./build/wardend ./cmd/wardend

$HOME/wardenprotocol/build/wardend version --long | grep -e commit -e version
# version: v0.7.2
# commit: b5221f6468410004de503cd5f66273e6a467369a

# 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 cat
```

## UPD 🕊 on v0.7.4-2 (Update Height: 3265800)

```shell
cd $HOME/wardenprotocol
git pull
git checkout v0.7.4-2
#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.4
    -X github.com/cosmos/cosmos-sdk/version.Commit=5fb2dc91b267f3ab39d19dcc72e5b5e721f916a6" \
    -o ./build/wardend ./cmd/wardend

$HOME/wardenprotocol/build/wardend version --long | grep -e commit -e version
# version: v0.7.4
# commit: 5fb2dc91b267f3ab39d19dcc72e5b5e721f916a6

# 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 cat
```

## UPD 🕊 on v1.0.0 (Update Height: 4619000)

```shell
cd $HOME/wardenprotocol
git pull
git checkout v1.0.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=v1.0.0
    -X github.com/cosmos/cosmos-sdk/version.Commit=c4ebc30dc4db02e7fcf551d43151781d10a9f184" \
    -o ./build/wardend ./cmd/wardend

$HOME/wardenprotocol/build/wardend version --long | grep -e commit -e version
# version: v1.0.0
# commit: c4ebc30dc4db02e7fcf551d43151781d10a9f184

# 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 cat
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://utsa.gitbook.io/services/testnet/warden-protocol/updates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
