From ed866ce44bb5b5cc7196d50ffaa3e31f214a216f Mon Sep 17 00:00:00 2001 From: Nick DeLuca Date: Tue, 11 Jul 2023 21:36:05 +0000 Subject: [PATCH] add v0.24.0 for kava 14, prep for kava rosetta v6.0.0 --- Dockerfile.mainnet | 10 +++++++++- Dockerfile.mainnet.dev | 10 +++++++++- go.mod | 2 +- go.sum | 4 ++-- 4 files changed, 21 insertions(+), 5 deletions(-) diff --git a/Dockerfile.mainnet b/Dockerfile.mainnet index fa359b8..2168930 100644 --- a/Dockerfile.mainnet +++ b/Dockerfile.mainnet @@ -22,11 +22,13 @@ ARG kava_v0_18_0_upgrade_version=v0.18.2 ARG kava_v0_19_0_upgrade_version=v0.19.0 ARG kava_v0_21_0_upgrade_version=v0.21.0 ARG kava_v0_23_0_upgrade_version=v0.23.1 +ARG kava_v0_24_0_upgrade_version=v0.24.0 ENV KAVA_GENESIS_VERSION=$kava_genesis_version ENV KAVA_V0_18_0_UPGRADE_VERSION=$kava_v0_18_0_upgrade_version ENV KAVA_V0_19_0_UPGRADE_VERSION=$kava_v0_19_0_upgrade_version ENV KAVA_V0_21_0_UPGRADE_VERSION=$kava_v0_21_0_upgrade_version ENV KAVA_V0_23_0_UPGRADE_VERSION=$kava_v0_23_0_upgrade_version +ENV KAVA_V0_24_0_UPGRADE_VERSION=$kava_v0_24_0_upgrade_version RUN git clone https://github.com/kava-labs/kava \ && cd kava \ @@ -59,7 +61,13 @@ RUN cd kava \ && mkdir -p /app/cosmovisor/upgrades/v0.23.0/bin \ && mv /go/bin/kava /app/cosmovisor/upgrades/v0.23.0/bin -ARG kava_rosetta_version=v5.0.0 +RUN cd kava \ + && git checkout $KAVA_V0_24_0_UPGRADE_VERSION \ + && make install \ + && mkdir -p /app/cosmovisor/upgrades/v0.24.0/bin \ + && mv /go/bin/kava /app/cosmovisor/upgrades/v0.24.0/bin + +ARG kava_rosetta_version=v6.0.0 ENV KAVA_ROSETTA_VERSION=$kava_rosetta_version RUN git clone https://github.com/Kava-Labs/rosetta-kava.git \ diff --git a/Dockerfile.mainnet.dev b/Dockerfile.mainnet.dev index a467aab..0b80b27 100644 --- a/Dockerfile.mainnet.dev +++ b/Dockerfile.mainnet.dev @@ -21,12 +21,14 @@ ARG kava_genesis_version=v0.17.7 ARG kava_v0_18_0_upgrade_version=v0.18.2 ARG kava_v0_19_0_upgrade_version=v0.19.0 ARG kava_v0_21_0_upgrade_version=v0.21.0 -ARG kava_v0_23_0_upgrade_version=v0.23.0 +ARG kava_v0_23_0_upgrade_version=v0.23.1 +ARG kava_v0_24_0_upgrade_version=v0.24.0 ENV KAVA_GENESIS_VERSION=$kava_genesis_version ENV KAVA_V0_18_0_UPGRADE_VERSION=$kava_v0_18_0_upgrade_version ENV KAVA_V0_19_0_UPGRADE_VERSION=$kava_v0_19_0_upgrade_version ENV KAVA_V0_21_0_UPGRADE_VERSION=$kava_v0_21_0_upgrade_version ENV KAVA_V0_23_0_UPGRADE_VERSION=$kava_v0_23_0_upgrade_version +ENV KAVA_V0_24_0_UPGRADE_VERSION=$kava_v0_24_0_upgrade_version RUN git clone https://github.com/kava-labs/kava \ && cd kava \ @@ -59,6 +61,12 @@ RUN cd kava \ && mkdir -p /app/cosmovisor/upgrades/v0.23.0/bin \ && mv /go/bin/kava /app/cosmovisor/upgrades/v0.23.0/bin +RUN cd kava \ + && git checkout $KAVA_V0_24_0_UPGRADE_VERSION \ + && make install \ + && mkdir -p /app/cosmovisor/upgrades/v0.24.0/bin \ + && mv /go/bin/kava /app/cosmovisor/upgrades/v0.24.0/bin + COPY . rosetta-kava RUN cd rosetta-kava \ diff --git a/go.mod b/go.mod index 6a08681..d4b3be0 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/coinbase/rosetta-sdk-go v0.7.9 github.com/cosmos/cosmos-sdk v0.46.11 github.com/fatih/color v1.13.0 - github.com/kava-labs/kava v0.24.0-alpha.0 + github.com/kava-labs/kava v0.24.0 github.com/spf13/cobra v1.6.1 github.com/stretchr/testify v1.8.2 github.com/tendermint/go-amino v0.16.0 diff --git a/go.sum b/go.sum index adae840..ee3aba2 100644 --- a/go.sum +++ b/go.sum @@ -702,8 +702,8 @@ github.com/kava-labs/cosmos-sdk v0.46.11-kava.1 h1:3VRpm4zf/gQgmpRVd1p99/2P8ZecA github.com/kava-labs/cosmos-sdk v0.46.11-kava.1/go.mod h1:bG4AkW9bqc8ycrryyKGQEl3YV9BY2wr6HggGq8kvcgM= github.com/kava-labs/ethermint v0.21.0-kava-v23-1 h1:5TSyCtPvFdMuSe8p2iMVqXmFBlK3lHyjaT9EqN752aI= github.com/kava-labs/ethermint v0.21.0-kava-v23-1/go.mod h1:rdm6AinxZ4dzPEv/cjH+/AGyTbKufJ3RE7M2MDyklH0= -github.com/kava-labs/kava v0.24.0-alpha.0 h1:vomReMLi9mzYceXcujl8UDPfnFi/A2PkmtWyBGnD4r8= -github.com/kava-labs/kava v0.24.0-alpha.0/go.mod h1:3GxXzb39AqPzwcg1y3UjsC56B1FTmQwcZ1W42ldztQc= +github.com/kava-labs/kava v0.24.0 h1:emiSxoIDwNXGNEDlp5zQxaqcTeFK9LQjvksB4JFxsyE= +github.com/kava-labs/kava v0.24.0/go.mod h1:3GxXzb39AqPzwcg1y3UjsC56B1FTmQwcZ1W42ldztQc= github.com/kava-labs/tm-db v0.6.7-kava.1 h1:7cVYlvWx1yP+gGdaAWcfm6NwMLzf4z6DxXguWn3+O3w= github.com/kava-labs/tm-db v0.6.7-kava.1/go.mod h1:HVZfZzWXuqWseXQVplxsWXK6kLHLkk3kQB6c+nuSZvk= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=