> For the complete documentation index, see [llms.txt](https://docs.cryptochemistry.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cryptochemistry.io/mainnets/stride/upgrades/v6.md).

# v6

**Chain ID:** stride-1

The upgrade is scheduled for 2559552.

## Cosmovisor Method

### Build the new binary verison

```bash
cd stride
git pull
git checkout v6.0.0
make install
```

### Check the version

```bash
# The correct version should be 6.0.0
strided version
# Should be: 9c1a07a6f560d0d4165f7d7726ca3c5d7d9d4634
strided version --long | grep commit
```

### Make new Cosmovisor directory and copy binary

```bash
mkdir -p $HOME/.stride/cosmovisor/upgrades/v6/bin
cp $HOME/go/bin/strided $HOME/.stride/cosmovisor/upgrades/v6/bin
```

### Verify the Cosmovisor upgrade version

```bash
# The correct version should be 6.0.0
$HOME/.stride/cosmovisor/upgrades/v6/bin/strided version
```

## Binary (Manual) Method

### Build the new binary verison

```bash
cd stride
git pull
git checkout v6.0.0
make build
```

### Set Halt Height

```bash
sed -i.bak 's/halt-height = 0/halt-height = 2559552/' $HOME/.stride/config/app.toml
```

Then, wait until the upgrade time. At the upgrade time, move to the next section.

### Replace the binaries

```bash
cp $HOME/stride/build/strided $(which strided)
```

### Reset the Halt Height

```bash
sed -i.bak 's/halt-height = 2559552/halt-height = 0/' $HOME/.stride/config/app.toml
```

### Restart The Node

```bash
# Replace strided.service with whatever your service file is called
sudo systemctl restart strided.service
```
