Skip to content

Commit

Permalink
add support for v0.23.0-alpha.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nddeluca committed May 4, 2023
1 parent 2ab1dfb commit 6a625f4
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 9 deletions.
12 changes: 10 additions & 2 deletions Dockerfile.testnet
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ ARG kava_v0_19_4_upgrade_version=v0.19.4-testnet
ARG kava_v0_19_5_upgrade_version=v0.19.5-testnet
ARG kava_v0_20_0_upgrade_version=v0.20.0-alpha.0
ARG kava_v0_21_0_upgrade_version=v0.21.0-alpha.1
ARG kava_v0_22_0_upgrade_version=v0.22.0-alpha.0
ARG kava_v0_22_0_upgrade_version=v0.22.0-alpha.1
ARG kava_v0_23_0_upgrade_version=v0.23.0-alpha.0
ENV KAVA_GENESIS_VERSION=$kava_genesis_version
ENV KAVA_V0_19_0_UPGRADE_VERSION=$kava_v0_19_0_upgrade_version
ENV KAVA_V0_19_1_UPGRADE_VERSION=$kava_v0_19_1_upgrade_version
Expand All @@ -37,6 +38,7 @@ ENV KAVA_V0_19_5_UPGRADE_VERSION=$kava_v0_19_5_upgrade_version
ENV KAVA_V0_20_0_UPGRADE_VERSION=$kava_v0_20_0_upgrade_version
ENV KAVA_V0_21_0_UPGRADE_VERSION=$kava_v0_21_0_upgrade_version
ENV KAVA_V0_22_0_UPGRADE_VERSION=$kava_v0_22_0_upgrade_version
ENV KAVA_V0_23_0_UPGRADE_VERSION=$kava_v0_23_0_upgrade_version

RUN git clone https://github.com/kava-labs/kava \
&& cd kava \
Expand Down Expand Up @@ -99,7 +101,13 @@ RUN cd kava \
&& mkdir -p /app/cosmovisor/upgrades/v0.22.0-alpha.0/bin \
&& mv /go/bin/kava /app/cosmovisor/upgrades/v0.22.0-alpha.0/bin

ARG kava_rosetta_version=v5.0.0-beta.1
RUN cd kava \
&& git checkout $KAVA_V0_23_0_UPGRADE_VERSION \
&& make install \
&& mkdir -p /app/cosmovisor/upgrades/v0.23.0-alpha.0/bin \
&& mv /go/bin/kava /app/cosmovisor/upgrades/v0.23.0-alpha.0/bin

ARG kava_rosetta_version=v5.0.0-beta.2
ENV KAVA_ROSETTA_VERSION=$kava_rosetta_version

RUN git clone https://github.com/Kava-Labs/rosetta-kava.git \
Expand Down
10 changes: 9 additions & 1 deletion Dockerfile.testnet.dev
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ ARG kava_v0_19_4_upgrade_version=v0.19.4-testnet
ARG kava_v0_19_5_upgrade_version=v0.19.5-testnet
ARG kava_v0_20_0_upgrade_version=v0.20.0-alpha.0
ARG kava_v0_21_0_upgrade_version=v0.21.0-alpha.1
ARG kava_v0_22_0_upgrade_version=v0.22.0-alpha.0
ARG kava_v0_22_0_upgrade_version=v0.22.0-alpha.1
ARG kava_v0_23_0_upgrade_version=v0.23.0-alpha.0
ENV KAVA_GENESIS_VERSION=$kava_genesis_version
ENV KAVA_V0_19_0_UPGRADE_VERSION=$kava_v0_19_0_upgrade_version
ENV KAVA_V0_19_1_UPGRADE_VERSION=$kava_v0_19_1_upgrade_version
Expand All @@ -37,6 +38,7 @@ ENV KAVA_V0_19_5_UPGRADE_VERSION=$kava_v0_19_5_upgrade_version
ENV KAVA_V0_20_0_UPGRADE_VERSION=$kava_v0_20_0_upgrade_version
ENV KAVA_V0_21_0_UPGRADE_VERSION=$kava_v0_21_0_upgrade_version
ENV KAVA_V0_22_0_UPGRADE_VERSION=$kava_v0_22_0_upgrade_version
ENV KAVA_V0_23_0_UPGRADE_VERSION=$kava_v0_23_0_upgrade_version

RUN git clone https://github.com/kava-labs/kava \
&& cd kava \
Expand Down Expand Up @@ -99,6 +101,12 @@ RUN cd kava \
&& mkdir -p /app/cosmovisor/upgrades/v0.22.0-alpha.0/bin \
&& mv /go/bin/kava /app/cosmovisor/upgrades/v0.22.0-alpha.0/bin

RUN cd kava \
&& git checkout $KAVA_V0_23_0_UPGRADE_VERSION \
&& make install \
&& mkdir -p /app/cosmovisor/upgrades/v0.23.0-alpha.0/bin \
&& mv /go/bin/kava /app/cosmovisor/upgrades/v0.23.0-alpha.0/bin

COPY . rosetta-kava

RUN cd rosetta-kava \
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.22.0-alpha.0
github.com/kava-labs/kava v0.23.0-alpha.0
github.com/spf13/cobra v1.6.1
github.com/stretchr/testify v1.8.2
github.com/tendermint/go-amino v0.16.0
Expand Down Expand Up @@ -189,7 +189,7 @@ replace (
// See https://github.com/cosmos/cosmos-sdk/pull/13093
github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt/v4 v4.4.2
// Use ethermint fork that respects min-gas-price with NoBaseFee true and london enabled, and includes eip712 support
github.com/evmos/ethermint => github.com/kava-labs/ethermint v0.21.0-kava-v22-2
github.com/evmos/ethermint => github.com/kava-labs/ethermint v0.21.0-kava-v23-1
// See https://github.com/cosmos/cosmos-sdk/pull/10401, https://github.com/cosmos/cosmos-sdk/commit/0592ba6158cd0bf49d894be1cef4faeec59e8320
github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.7.0
// Use the cosmos modified protobufs
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -700,10 +700,10 @@ github.com/kava-labs/cometbft-db v0.7.0-rocksdb-v7.9.2-kava.1 h1:EZnZAkZ+dqK+1OM
github.com/kava-labs/cometbft-db v0.7.0-rocksdb-v7.9.2-kava.1/go.mod h1:mI/4J4IxRzPrXvMiwefrt0fucGwaQ5Hm9IKS7HnoJeI=
github.com/kava-labs/cosmos-sdk v0.46.11-kava.1 h1:3VRpm4zf/gQgmpRVd1p99/2P8ZecAu2FVAXHru5caIo=
github.com/kava-labs/cosmos-sdk v0.46.11-kava.1/go.mod h1:bG4AkW9bqc8ycrryyKGQEl3YV9BY2wr6HggGq8kvcgM=
github.com/kava-labs/ethermint v0.21.0-kava-v22-2 h1:JU5So7ZINfgo4rbS+ffzGtFxVR4Zak0uDdTikJ8PMgM=
github.com/kava-labs/ethermint v0.21.0-kava-v22-2/go.mod h1:rdm6AinxZ4dzPEv/cjH+/AGyTbKufJ3RE7M2MDyklH0=
github.com/kava-labs/kava v0.22.0-alpha.0 h1:FAwAIwDy+5bJOQU0bQnPpYcF2cm5nO43bu0B4Qf/sLI=
github.com/kava-labs/kava v0.22.0-alpha.0/go.mod h1:vkjZW8e6RzHq4f1kF6kIhXvAnWzRmRA2xfR5Tfxuct4=
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.23.0-alpha.0 h1:lMjG5eTrEFiI2podm77Hv4+CHPmiaKTBl+Aaf5fs+us=
github.com/kava-labs/kava v0.23.0-alpha.0/go.mod h1:cT0xbY+qJLTvxdAotn0Om6Wb9XwZQUozVBEne3Ym0fg=
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=
Expand Down

0 comments on commit 6a625f4

Please sign in to comment.