> For the complete documentation index, see [llms.txt](https://services.stakeandrelax.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://services.stakeandrelax.net/mainnet/provenance/upgrade.md).

# Upgrade

**Chain ID**: {{ chain\_id }} | **Latest Version Tag**: v1.27.2

{% hint style="info" %}
Since we are using Cosmovisor, it makes it very easy to prepare for upcomming upgrade. You just have to build new binaries and move it into cosmovisor upgrades directory.
{% endhint %}

## Download and build upgrade binaries

```bash
# Clone project repository
cd $HOME
rm -rf {{ network }}
git clone {{ repo }} {{ network }}
cd {{ network }}
git checkout v1.27.2

# Build binaries
make build && make install

# Prepare binaries for Cosmovisor
mkdir -p $DAEMON_HOME/cosmovisor/upgrades/v1.27.2/bin && cp $HOME/go/bin/{{ daemon }} $DAEMON_HOME/cosmovisor/upgrades/v1.27.2/bin
$DAEMON_HOME/cosmovisor/upgrades/v1.27.2/bin/{{ daemon }} version
rm -rf build
```

*Thats it! Now when upgrade block height is reached, Cosmovisor will handle it automatically!*
