From 3c13b787a7360ee13bc4d9b3b233141698dc2a6e Mon Sep 17 00:00:00 2001 From: woof Date: Mon, 23 Sep 2024 16:33:26 +0100 Subject: [PATCH 1/2] adding v8.0.0 instructions --- README.md | 3 ++- mainnet/UPGRADES/v8.0.0/README.md | 38 +++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 mainnet/UPGRADES/v8.0.0/README.md diff --git a/README.md b/README.md index f5b171a..c1942fd 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/mainnet/UPGRADES/v8.0.0/README.md b/mainnet/UPGRADES/v8.0.0/README.md new file mode 100644 index 0000000..5218f84 --- /dev/null +++ b/mainnet/UPGRADES/v8.0.0/README.md @@ -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 +``` From 55079674523f53a8015e9ea78a42c20ea71a17f2 Mon Sep 17 00:00:00 2001 From: Nit | Octo-Node <110173694+octo-node@users.noreply.github.com> Date: Fri, 27 Sep 2024 19:52:25 +0200 Subject: [PATCH 2/2] Update Dockerfile Fix wasmvm version in dockerfile --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9273bca..7907a4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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