Skip to content

Commit

Permalink
add v6 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
woof-chihuahua committed Dec 18, 2023
1 parent c49c608 commit 15b9454
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ _Make sure to join our [Discord](https://discord.gg/chihuahua) and contact a mod

# Chain Upgrades

- **v6** _(v6)_ - Block 10666000 - (2023-12-23 15:30:00)
- [Upgrade Instruction](https://github.com/ChihuahuaChain/chihuahua/blob/main/mainnet/UPGRADES/v6)
- **v503** _(v5.0.4)_ - Block 9430000 - (2023-09-28 16:30:00) - (Halt height 9431130 due to wrong wasmd/wasmvm - Use v5.0.4 on directory v503)
- [Upgrade Instruction](https://github.com/ChihuahuaChain/chihuahua/blob/main/mainnet/UPGRADES/v503)
- **v502** _(v5.0.2)_ - Block 9180000 - (2023-09-11 15:00:00)
Expand Down
38 changes: 38 additions & 0 deletions mainnet/UPGRADES/v6/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Chihuahua v6 Upgrade

The Upgrade is scheduled for block `10666000`. A countdown clock is [here](https://www.mintscan.io/chihuahua/blocks/9430000)

This guide assumes that you use cosmovisor to manage upgrades.

## If you are syncing from 0 you need to apply v6 at height 10666000

```bash
# get the new version
cd chihuahua
git fetch --all
git checkout v6
make install
```

# check the version

```bash
# should be v6
chihuahuad version
# Should be commit c49c60854b6d167ea7c912ac4fd368d1546fa7dd
chihuahuad version --long | grep commit
```

# Make new directory and copy binary

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

# check the version again

```bash
# should be v6
$HOME/.chihuahuad/cosmovisor/upgrades/v6/bin/chihuahuad version
```

0 comments on commit 15b9454

Please sign in to comment.