diff --git a/Dockerfile.mainnet b/Dockerfile.mainnet index 28f23d7..3f5c885 100644 --- a/Dockerfile.mainnet +++ b/Dockerfile.mainnet @@ -24,6 +24,7 @@ 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 ARG kava_v0_25_0_upgrade_version=v0.25.0 +ARG kava_v0_26_0_upgrade_version=v0.26.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 @@ -31,6 +32,7 @@ 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 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 \ @@ -75,7 +77,13 @@ RUN cd kava \ && mkdir -p /app/cosmovisor/upgrades/v0.25.0/bin \ && mv /go/bin/kava /app/cosmovisor/upgrades/v0.25.0/bin -ARG kava_rosetta_version=v7.0.0 +RUN cd kava \ + && git checkout $KAVA_V0_26_0_UPGRADE_VERSION \ + && make install \ + && 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 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 9b1d336..41ef200 100644 --- a/Dockerfile.mainnet.dev +++ b/Dockerfile.mainnet.dev @@ -24,6 +24,7 @@ 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 ARG kava_v0_25_0_upgrade_version=v0.25.0 +ARG kava_v0_26_0_upgrade_version=v0.26.0 ENV KAVA_GENESIS_VERSION=$kava_genesis_version ENV KAVA_V0_18_0_UPGRADE_VERSION=$kava_v0_18_0_upgrade_version @@ -32,6 +33,7 @@ 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 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 \ @@ -76,6 +78,12 @@ RUN cd kava \ && mkdir -p /app/cosmovisor/upgrades/v0.25.0/bin \ && mv /go/bin/kava /app/cosmovisor/upgrades/v0.25.0/bin +RUN cd kava \ + && git checkout $KAVA_V0_26_0_UPGRADE_VERSION \ + && make install \ + && mkdir -p /app/cosmovisor/upgrades/v0.26.0/bin \ + && mv /go/bin/kava /app/cosmovisor/upgrades/v0.26.0/bin + COPY . rosetta-kava RUN cd rosetta-kava \ diff --git a/go.mod b/go.mod index a44bda5..60582c0 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/cosmos/cosmos-sdk v0.47.10 github.com/fatih/color v1.13.0 github.com/google/go-cmp v0.6.0 - github.com/kava-labs/kava v0.26.0-alpha.0 + github.com/kava-labs/kava v0.26.0 github.com/spf13/cobra v1.7.0 github.com/stretchr/testify v1.8.4 github.com/tendermint/go-amino v0.16.0 diff --git a/go.sum b/go.sum index 269cd33..bcaf8e7 100644 --- a/go.sum +++ b/go.sum @@ -877,8 +877,8 @@ github.com/kava-labs/cosmos-sdk v0.47.10-kava.1 h1:Ycu9ep1ggcgltYNLPrwQhHd32zFjN github.com/kava-labs/cosmos-sdk v0.47.10-kava.1/go.mod h1:Pu1s91xgfT6VAUmwqR5wMensfvpGPHXKwA8dXw42+gA= github.com/kava-labs/ethermint v0.21.0-kava-v26.2 h1:TPCwtVkYyyw4RRYkmfLk3WIZRNx1p1FPTCqAxBjPptY= github.com/kava-labs/ethermint v0.21.0-kava-v26.2/go.mod h1:D8MKV53Ah21b+Bk78bQUwIwnOGu03TQ19buZXHgEujE= -github.com/kava-labs/kava v0.26.0-alpha.0 h1:hJ+mqBqismCaJRFOhahMdZcxPXOF1Hldu/di+ifeXDE= -github.com/kava-labs/kava v0.26.0-alpha.0/go.mod h1:ggmYrqReLq6qyS+6QdJ4AbOAEhLdnSP3KsRIZR13Jjk= +github.com/kava-labs/kava v0.26.0 h1:gSPKAZJXlY8Eu0WAsKVv1guciSg7dXY9zx1wdsDYUbs= +github.com/kava-labs/kava v0.26.0/go.mod h1:ggmYrqReLq6qyS+6QdJ4AbOAEhLdnSP3KsRIZR13Jjk= 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=