Skip to content

Commit

Permalink
Merge pull request #5 from ChihuahuaChain/main
Browse files Browse the repository at this point in the history
Merge from huahua chain
  • Loading branch information
Victor118 authored Sep 29, 2024
2 parents c57a7b8 + d950efc commit 86f1ae9
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ COPY . .
# For more details see https://github.com/CosmWasm/wasmvm#builds-of-libwasmvm
ARG ARCH=x86_64
# See https://github.com/CosmWasm/wasmvm/releases
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.3.1/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.aarch64.a
ADD https://github.com/CosmWasm/wasmvm/releases/download/v1.3.1/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.x86_64.a
RUN sha256sum /lib/libwasmvm_muslc.aarch64.a | grep 9f5f387bddbd51a549f2d8eb2cc0f08030f311610c43004b96c141a733b681bc
RUN sha256sum /lib/libwasmvm_muslc.x86_64.a | grep 129da0e50eaa3da093eb84c3a8f48da20b9573f3afdf83159b3984208c8ec5c3
ADD https://github.com/CosmWasm/wasmvm/releases/download/v2.1.2/libwasmvm_muslc.aarch64.a /lib/libwasmvm_muslc.aarch64.a
ADD https://github.com/CosmWasm/wasmvm/releases/download/v2.1.2/libwasmvm_muslc.x86_64.a /lib/libwasmvm_muslc.x86_64.a
RUN sha256sum /lib/libwasmvm_muslc.aarch64.a | grep 0881c5b463e89e229b06370e9e2961aec0a5c636772d5142c68d351564464a66
RUN sha256sum /lib/libwasmvm_muslc.x86_64.a | grep 58e1f6bfa89ee390cb9abc69a5bc126029a497fe09dd399f38a82d0d86fe95ef
RUN cp /lib/libwasmvm_muslc.${ARCH}.a /lib/libwasmvm_muslc.a

ENV PACKAGES curl make git libc-dev bash gcc linux-headers eudev-dev python3
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ _Make sure to join our [Discord](https://discord.gg/chihuahuachain-8782014494216
---

# Chain Upgrades

- **v8.0.0** - Block 14762000 - (2024-09-29 13:45:00)
- [Upgrade Instruction](https://github.com/ChihuahuaChain/chihuahua/blob/main/mainnet/UPGRADES/v8.0.0)
- **v7.0.1** _(using v7.0.2 binary)_ - Block 13250000 - (2024-06-17 15:11:00)
- [Upgrade Instruction](https://github.com/ChihuahuaChain/chihuahua/blob/main/mainnet/UPGRADES/v7.0.1)
- **v7** _(v7)_ - Block 12900000 - (2024-05-24 10:12:00)
Expand Down
38 changes: 38 additions & 0 deletions mainnet/UPGRADES/v8.0.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Chihuahua v8.0.0 Upgrade

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

This guide assumes that you use cosmovisor to manage upgrades.

## If you are syncing from 0 you need to apply v8.0.0 at height 14762000

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

# check the version

```bash
# should be v8.0.0
chihuahuad version
# Should be commit fc42649d573ee6c06225f52162cf325db3b3b7db
chihuahuad version --long | grep commit
```

# Make new directory and copy binary

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

# check the version again

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

0 comments on commit 86f1ae9

Please sign in to comment.