Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion contrib/images/slinky.e2e.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM ghcr.io/dydxprotocol/slinky-dev-base AS builder
FROM golang:1.23-bullseye AS builder

RUN curl -sSLf "$(curl -sSLf https://api.github.com/repos/tomwright/dasel/releases/latest | grep browser_download_url | grep linux_amd64 | grep -v .gz | cut -d\" -f 4)" -L -o dasel && chmod +x dasel && mv ./dasel /usr/local/bin/dasel

RUN apt-get update && apt-get install jq -y && apt-get install ca-certificates -y

WORKDIR /src/slinky

Expand Down
7 changes: 5 additions & 2 deletions contrib/images/slinky.local.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM ghcr.io/dydxprotocol/slinky-dev-base AS builder
FROM golang:1.23-bullseye AS builder

RUN curl -sSLf "$(curl -sSLf https://api.github.com/repos/tomwright/dasel/releases/latest | grep browser_download_url | grep linux_amd64 | grep -v .gz | cut -d\" -f 4)" -L -o dasel && chmod +x dasel && mv ./dasel /usr/local/bin/dasel

RUN apt-get update && apt-get install jq -y && apt-get install ca-certificates -y

WORKDIR /src/slinky

Expand All @@ -14,6 +18,5 @@ RUN make build-test-app
## This will expose the tendermint and cosmos ports alongside
## starting up the sim app and the slinky daemon
EXPOSE 26656 26657 1317 9090 7171 26655 8081 26660
RUN apt-get update && apt-get install jq -y && apt-get install ca-certificates -y
ENTRYPOINT ["make", "build-and-start-app"]

7 changes: 5 additions & 2 deletions contrib/images/slinky.sidecar.dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/dydxprotocol/slinky-dev-base AS builder
FROM golang:1.23-bullseye AS builder

WORKDIR /src/slinky

Expand All @@ -14,7 +14,10 @@ FROM ubuntu:rolling
EXPOSE 8080 8002

COPY --from=builder /src/slinky/build/* /usr/local/bin/
RUN apt-get update && apt-get install jq -y && apt-get install ca-certificates -y

RUN apt-get update && apt-get install curl jq ca-certificates -y

RUN curl -sSLf "$(curl -sSLf https://api.github.com/repos/tomwright/dasel/releases/latest | grep browser_download_url | grep linux_amd64 | grep -v .gz | cut -d\" -f 4)" -L -o dasel && chmod +x dasel && mv ./dasel /usr/local/bin/dasel

WORKDIR /usr/local/bin/
ENTRYPOINT [ "slinky" ]
6 changes: 5 additions & 1 deletion contrib/images/slinky.sidecar.e2e.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM ghcr.io/dydxprotocol/slinky-dev-base AS builder
FROM golang:1.23-bullseye AS builder

RUN curl -sSLf "$(curl -sSLf https://api.github.com/repos/tomwright/dasel/releases/latest | grep browser_download_url | grep linux_amd64 | grep -v .gz | cut -d\" -f 4)" -L -o dasel && chmod +x dasel && mv ./dasel /usr/local/bin/dasel

RUN apt-get update && apt-get install jq -y && apt-get install ca-certificates -y

WORKDIR /src/slinky

Expand Down
6 changes: 5 additions & 1 deletion contrib/images/slinky.sidecar.prod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM ghcr.io/dydxprotocol/slinky-dev-base AS builder
FROM golang:1.23-bullseye AS builder

RUN curl -sSLf "$(curl -sSLf https://api.github.com/repos/tomwright/dasel/releases/latest | grep browser_download_url | grep linux_amd64 | grep -v .gz | cut -d\" -f 4)" -L -o dasel && chmod +x dasel && mv ./dasel /usr/local/bin/dasel

RUN apt-get update && apt-get install jq -y && apt-get install ca-certificates -y

WORKDIR /src/slinky

Expand Down
33 changes: 16 additions & 17 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/dydxprotocol/slinky

go 1.23.1

toolchain go1.23.2
toolchain go1.24.5

require (
cosmossdk.io/api v0.7.6
Expand All @@ -13,13 +13,13 @@ require (
cosmossdk.io/math v1.4.0
cosmossdk.io/store v1.1.1
github.com/client9/misspell v0.3.4
github.com/cometbft/cometbft v0.38.15
github.com/cometbft/cometbft v0.38.17
github.com/cosmos/cosmos-proto v1.0.0-beta.5
github.com/cosmos/cosmos-sdk v0.50.11
github.com/cosmos/gogogateway v1.2.0
github.com/cosmos/gogoproto v1.7.0
github.com/cosmos/interchain-security/v5 v5.2.0
github.com/ethereum/go-ethereum v1.14.11
github.com/ethereum/go-ethereum v1.14.13
github.com/gagliardetto/binary v0.8.0
github.com/gagliardetto/solana-go v1.11.0
github.com/golang/mock v1.6.0
Expand All @@ -38,12 +38,12 @@ require (
github.com/vektra/mockery/v2 v2.50.0
go.uber.org/zap v1.27.0
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0
golang.org/x/net v0.32.0
golang.org/x/sync v0.10.0
golang.org/x/net v0.36.0
golang.org/x/sync v0.11.0
golang.org/x/vuln v1.1.3
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1
google.golang.org/grpc v1.68.1
google.golang.org/protobuf v1.35.2
google.golang.org/genproto/googleapis/api v0.0.0-20241202173237-19429a94021a
google.golang.org/grpc v1.70.0
google.golang.org/protobuf v1.36.4
gopkg.in/natefinch/lumberjack.v2 v2.2.1
mvdan.cc/gofumpt v0.7.0
)
Expand Down Expand Up @@ -76,7 +76,7 @@ require (
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.0 // indirect
github.com/GeertJohan/go.rice v1.0.3 // indirect
github.com/Masterminds/semver/v3 v3.3.0 // indirect
github.com/Masterminds/semver/v3 v3.3.1 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/OpenPeeDeeP/depguard/v2 v2.2.0 // indirect
github.com/StackExchange/wmi v1.2.1 // indirect
Expand All @@ -96,7 +96,6 @@ require (
github.com/bombsimon/wsl/v4 v4.4.1 // indirect
github.com/breml/bidichk v0.3.2 // indirect
github.com/breml/errchkjson v0.4.0 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect
github.com/buger/jsonparser v1.1.1 // indirect
github.com/butuzov/ireturn v0.3.0 // indirect
github.com/butuzov/mirror v1.2.0 // indirect
Expand All @@ -122,7 +121,7 @@ require (
github.com/cosmos/go-bip39 v1.0.0 // indirect
github.com/cosmos/iavl v1.2.2 // indirect
github.com/cosmos/ibc-go/modules/capability v1.0.1 // indirect
github.com/cosmos/ibc-go/v8 v8.5.1 // indirect
github.com/cosmos/ibc-go/v8 v8.6.1 // indirect
github.com/cosmos/ics23/go v0.11.0 // indirect
github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect
github.com/crate-crypto/go-ipa v0.0.0-20240223125850-b1e8a79f509c // indirect
Expand Down Expand Up @@ -269,7 +268,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/polyfloyd/go-errorlint v1.7.0 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.60.1 // indirect
github.com/prometheus/common v0.62.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/quasilyte/go-ruleguard v0.4.3-0.20240823090925-0fe6f58b47b1 // indirect
github.com/quasilyte/go-ruleguard/dsl v0.3.22 // indirect
Expand Down Expand Up @@ -336,17 +335,17 @@ require (
go.uber.org/automaxprocs v1.6.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/ratelimit v0.2.0 // indirect
golang.org/x/crypto v0.31.0 // indirect
golang.org/x/crypto v0.35.0 // indirect
golang.org/x/exp/typeparams v0.0.0-20241108190413-2d47ceb2692f // indirect
golang.org/x/mod v0.22.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/sys v0.30.0 // indirect
golang.org/x/telemetry v0.0.0-20240522233618-39ace7a40ae7 // indirect
golang.org/x/term v0.27.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/term v0.29.0 // indirect
golang.org/x/text v0.22.0 // indirect
golang.org/x/time v0.6.0 // indirect
golang.org/x/tools v0.27.0 // indirect
google.golang.org/genproto v0.0.0-20240903143218-8af14fe29dc1 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240930140551-af27646dc61f // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
Loading