Skip to content

Commit

Permalink
Bump kava to v0.25.0 for kava 15, update Dockerfiles for rosetta v7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
drklee3 committed Nov 22, 2023
1 parent 13f3c07 commit 698620a
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 48 deletions.
10 changes: 9 additions & 1 deletion Dockerfile.mainnet
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ 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
ARG kava_v0_25_0_upgrade_version=v0.25.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
ENV KAVA_V0_25_0_UPGRADE_VERSION=$kava_v0_25_0_upgrade_version

RUN git clone https://github.com/kava-labs/kava \
&& cd kava \
Expand Down Expand Up @@ -67,7 +69,13 @@ RUN cd kava \
&& 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
RUN cd kava \
&& git checkout $KAVA_V0_25_0_UPGRADE_VERSION \
&& make install \
&& 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
ENV KAVA_ROSETTA_VERSION=$kava_rosetta_version

RUN git clone https://github.com/Kava-Labs/rosetta-kava.git \
Expand Down
11 changes: 10 additions & 1 deletion Dockerfile.mainnet.dev
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ 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
ARG kava_v0_25_0_upgrade_version=v0.25.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
ENV KAVA_V0_25_0_UPGRADE_VERSION=$kava_v0_25_0_upgrade_version

RUN git clone https://github.com/kava-labs/kava \
&& cd kava \
Expand Down Expand Up @@ -67,10 +70,16 @@ RUN cd kava \
&& mkdir -p /app/cosmovisor/upgrades/v0.24.0/bin \
&& mv /go/bin/kava /app/cosmovisor/upgrades/v0.24.0/bin

RUN cd kava \
&& git checkout $KAVA_V0_25_0_UPGRADE_VERSION \
&& make install \
&& mkdir -p /app/cosmovisor/upgrades/v0.25.0/bin \
&& mv /go/bin/kava /app/cosmovisor/upgrades/v0.25.0/bin

COPY . rosetta-kava

RUN cd rosetta-kava \
&& make install
&& make install

FROM ubuntu:22.04

Expand Down
33 changes: 18 additions & 15 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ 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.25.0-alpha.0
github.com/kava-labs/kava v0.25.0
github.com/spf13/cobra v1.6.1
github.com/stretchr/testify v1.8.3
github.com/tendermint/go-amino v0.16.0
github.com/tendermint/tendermint v0.34.27
)

require (
cloud.google.com/go v0.110.0 // indirect
cloud.google.com/go/compute v1.19.1 // indirect
cloud.google.com/go v0.110.8 // indirect
cloud.google.com/go/compute v1.23.0 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v0.13.0 // indirect
cloud.google.com/go/storage v1.28.1 // indirect
cloud.google.com/go/iam v1.1.2 // indirect
cloud.google.com/go/storage v1.30.1 // indirect
cosmossdk.io/errors v1.0.0-beta.7 // indirect
filippo.io/edwards25519 v1.0.0-rc.1 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
Expand All @@ -47,7 +47,7 @@ require (
github.com/cosmos/gogoproto v1.4.6 // indirect
github.com/cosmos/iavl v0.19.5 // indirect
github.com/cosmos/ibc-go/v6 v6.1.1 // indirect
github.com/cosmos/ledger-cosmos-go v0.12.2 // indirect
github.com/cosmos/ledger-cosmos-go v0.13.1 // indirect
github.com/danieljoos/wincred v1.1.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deckarep/golang-set v1.8.0 // indirect
Expand Down Expand Up @@ -79,9 +79,10 @@ require (
github.com/google/btree v1.1.2 // indirect
github.com/google/flatbuffers v1.12.1 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/s2a-go v0.1.4 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
github.com/googleapis/gax-go/v2 v2.7.1 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.4 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/gorilla/handlers v1.5.1 // indirect
github.com/gorilla/mux v1.8.0 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
Expand Down Expand Up @@ -155,23 +156,25 @@ require (
github.com/tyler-smith/go-bip39 v1.1.0 // indirect
github.com/ulikunitz/xz v0.5.10 // indirect
github.com/zondax/hid v0.9.1 // indirect
github.com/zondax/ledger-go v0.14.1 // indirect
github.com/zondax/ledger-go v0.14.2 // indirect
go.etcd.io/bbolt v1.3.7 // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/exp v0.0.0-20230213192124-5e25df0256eb // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/oauth2 v0.7.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/oauth2 v0.10.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/term v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.114.0 // indirect
google.golang.org/api v0.128.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/grpc v1.56.3 // indirect
google.golang.org/protobuf v1.30.0 // indirect
google.golang.org/genproto v0.0.0-20231002182017-d307bd883b97 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230920204549-e6e6cdab5c13 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231009173412-8bfb1ae86b6c // indirect
google.golang.org/grpc v1.58.3 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
Expand Down
Loading

0 comments on commit 698620a

Please sign in to comment.