Skip to content

Commit

Permalink
chore: Prepare v9.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nddeluca committed Nov 19, 2024
1 parent 82324fa commit c751019
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 8 deletions.
15 changes: 12 additions & 3 deletions Dockerfile.mainnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG build_image=golang:1.21.8-bullseye
FROM $build_image as kava-rosetta-build
ARG build_image=golang:1.22.9-bullseye
FROM $build_image AS kava-rosetta-build

RUN apt-get update \
&& apt-get install -y git make gcc \
Expand All @@ -25,6 +25,8 @@ ARG kava_v0_23_0_upgrade_version=v0.23.1
ARG kava_v0_24_0_upgrade_version=v0.24.0
ARG kava_v0_25_0_upgrade_version=v0.25.0
ARG kava_v0_26_0_upgrade_version=v0.26.0
ARG kava_v0_27_0_upgrade_version=v0.27.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
Expand All @@ -33,6 +35,7 @@ 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
ENV KAVA_V0_25_0_UPGRADE_VERSION=$kava_v0_25_0_upgrade_version
ENV KAVA_V0_26_0_UPGRADE_VERSION=$kava_v0_26_0_upgrade_version
ENV KAVA_V0_27_0_UPGRADE_VERSION=$kava_v0_27_0_upgrade_version

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

ARG kava_rosetta_version=v8.0.0
RUN cd kava \
&& git checkout $KAVA_V0_27_0_UPGRADE_VERSION \
&& make install \
&& mkdir -p /app/cosmovisor/upgrades/v0.27.0/bin \
&& mv /go/bin/kava /app/cosmovisor/upgrades/v0.27.0/bin

ARG kava_rosetta_version=v9.0.0
ENV KAVA_ROSETTA_VERSION=$kava_rosetta_version

RUN git clone https://github.com/Kava-Labs/rosetta-kava.git \
Expand Down
12 changes: 10 additions & 2 deletions Dockerfile.mainnet.dev
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG build_image=golang:1.21.8-bullseye
FROM $build_image as kava-rosetta-build
ARG build_image=golang:1.22.9-bullseye
FROM $build_image AS kava-rosetta-build

RUN apt-get update \
&& apt-get install -y git make gcc \
Expand All @@ -25,6 +25,7 @@ ARG kava_v0_23_0_upgrade_version=v0.23.1
ARG kava_v0_24_0_upgrade_version=v0.24.0
ARG kava_v0_25_0_upgrade_version=v0.25.0
ARG kava_v0_26_0_upgrade_version=v0.26.0
ARG kava_v0_27_0_upgrade_version=v0.27.0

ENV KAVA_GENESIS_VERSION=$kava_genesis_version
ENV KAVA_V0_18_0_UPGRADE_VERSION=$kava_v0_18_0_upgrade_version
Expand All @@ -34,6 +35,7 @@ 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
ENV KAVA_V0_25_0_UPGRADE_VERSION=$kava_v0_25_0_upgrade_version
ENV KAVA_V0_26_0_UPGRADE_VERSION=$kava_v0_26_0_upgrade_version
ENV KAVA_V0_27_0_UPGRADE_VERSION=$kava_v0_27_0_upgrade_version

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

RUN cd kava \
&& git checkout $KAVA_V0_27_0_UPGRADE_VERSION \
&& make install \
&& mkdir -p /app/cosmovisor/upgrades/v0.27.0/bin \
&& mv /go/bin/kava /app/cosmovisor/upgrades/v0.27.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 @@ -10,7 +10,7 @@ require (
github.com/cosmos/cosmos-sdk v0.47.10
github.com/fatih/color v1.14.1
github.com/google/go-cmp v0.6.0
github.com/kava-labs/kava v0.27.0-alpha.0
github.com/kava-labs/kava v0.27.0
github.com/spf13/cobra v1.8.1
github.com/stretchr/testify v1.9.0
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 @@ -909,8 +909,8 @@ github.com/kava-labs/ethermint v0.21.0-kava-v27.0 h1:TzFhLQULsyQUA+b620FMGvZHTNr
github.com/kava-labs/ethermint v0.21.0-kava-v27.0/go.mod h1:zGcUyJhdcoO0VfxAQwiXpGjBAV8w+Hig1yaH2l7KB5k=
github.com/kava-labs/iavl v1.2.0-kava.2 h1:RfEqQ9u7fvhzXOfYxxqEnVNCTb3pYJiT7X86N6cgI0M=
github.com/kava-labs/iavl v1.2.0-kava.2/go.mod h1:nNoeUFw64lfPvcj3yZ7W7BvmlTxu9ANGsJcUiPSOAdw=
github.com/kava-labs/kava v0.27.0-alpha.0 h1:fuvah03CulRlQmc+Zo3ZrnJ4Nin/hiqikdI7LkBo5bU=
github.com/kava-labs/kava v0.27.0-alpha.0/go.mod h1:0ASqz/hGc8EkbVfwfnaXlOGBV8/bo8+OTWP8WW+suG8=
github.com/kava-labs/kava v0.27.0 h1:QhGTjeHhaeM8AYeaze9/RXXBvMffukfZYzoKbgS4Tl8=
github.com/kava-labs/kava v0.27.0/go.mod h1:0ASqz/hGc8EkbVfwfnaXlOGBV8/bo8+OTWP8WW+suG8=
github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
Expand Down

0 comments on commit c751019

Please sign in to comment.