Skip to content

Commit

Permalink
Update dockerfiles for v0.26.0-alpha.0 upgrade and prep for
Browse files Browse the repository at this point in the history
v8.0.0-beta.1 rosetta tag
  • Loading branch information
nddeluca committed Apr 8, 2024
1 parent 6a34625 commit 359fa3a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Dockerfile.testnet
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ ARG kava_v0_22_0_upgrade_version=v0.22.0-alpha.1
ARG kava_v0_23_0_upgrade_version=v0.23.0-alpha.0
ARG kava_v0_24_0_upgrade_version=v0.24.0-alpha.0
ARG kava_v0_25_0_upgrade_version=v0.25.0-alpha.0
ARG kava_v0_26_0_upgrade_version=v0.26.0-alpha.0

ENV KAVA_GENESIS_VERSION=$kava_genesis_version
ENV KAVA_V0_19_0_UPGRADE_VERSION=$kava_v0_19_0_upgrade_version
Expand All @@ -44,6 +45,7 @@ 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
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

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

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

ARG kava_rosetta_version=v8.0.0-beta.1
ENV KAVA_ROSETTA_VERSION=$kava_rosetta_version

RUN git clone https://github.com/Kava-Labs/rosetta-kava.git \
Expand Down
8 changes: 8 additions & 0 deletions Dockerfile.testnet.dev
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ ARG kava_v0_22_0_upgrade_version=v0.22.0-alpha.1
ARG kava_v0_23_0_upgrade_version=v0.23.0-alpha.0
ARG kava_v0_24_0_upgrade_version=v0.24.0-alpha.0
ARG kava_v0_25_0_upgrade_version=v0.25.0-alpha.0
ARG kava_v0_26_0_upgrade_version=v0.26.0-alpha.0

ENV KAVA_GENESIS_VERSION=$kava_genesis_version
ENV KAVA_V0_19_0_UPGRADE_VERSION=$kava_v0_19_0_upgrade_version
Expand All @@ -44,6 +45,7 @@ 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
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

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

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

COPY . rosetta-kava

RUN cd rosetta-kava \
Expand Down

0 comments on commit 359fa3a

Please sign in to comment.