Skip to content

Commit

Permalink
add v0.24.0 for kava 14, prep for kava rosetta v6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nddeluca committed Jul 11, 2023
1 parent dd42b3e commit ed866ce
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 5 deletions.
10 changes: 9 additions & 1 deletion Dockerfile.mainnet
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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 \
Expand Down
10 changes: 9 additions & 1 deletion Dockerfile.mainnet.dev
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion 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.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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit ed866ce

Please sign in to comment.