Skip to content

Commit

Permalink
Merge branch 'main' into anmol/eth-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 authored Dec 24, 2024
2 parents 4ae6295 + 5635e85 commit 1ba8c4c
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 1 deletion.
13 changes: 13 additions & 0 deletions starship/docker/chains/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ARG BASE_IMAGE
ARG VERSION
FROM ${BASE_IMAGE}:${VERSION}

LABEL org.opencontainers.image.source="https://github.com/cosmology-tech/starship"

# Set up dependencies
ENV PACKAGES curl make bash jq sed

# Install minimum necessary dependencies
RUN apk add --no-cache $PACKAGES

WORKDIR /opt
17 changes: 17 additions & 0 deletions starship/docker/chains/Dockerfile.eth-beacon
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ARG BASE_IMAGE
ARG VERSION
FROM ${BASE_IMAGE}:${VERSION} AS source

FROM alpine:3.17

LABEL org.opencontainers.image.source="https://github.com/cosmology-tech/starship"

COPY --from=source /beacon-chain /usr/bin

# Set up dependencies
ENV PACKAGES curl make bash jq sed

# Install minimum necessary dependencies
RUN apk add --no-cache $PACKAGES

WORKDIR /opt
17 changes: 17 additions & 0 deletions starship/docker/chains/Dockerfile.eth-validator
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ARG BASE_IMAGE
ARG VERSION
FROM ${BASE_IMAGE}:${VERSION} AS source

FROM alpine:3.17

LABEL org.opencontainers.image.source="https://github.com/cosmology-tech/starship"

COPY --from=source /validator /usr/bin

# Set up dependencies
ENV PACKAGES curl make bash jq sed

# Install minimum necessary dependencies
RUN apk add --no-cache $PACKAGES

WORKDIR /opt
21 changes: 21 additions & 0 deletions starship/docker/chains/versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,25 @@ chains:
- name: noble
base: ghcr.io/strangelove-ventures/heighliner/noble
tags:
- v8.0.3
- v7.0.0
- name: ethereum/client-go
base: ethereum/client-go
file: Dockerfile.base
tags:
- latest
- stable
- v1.14.12
- v1.14.11
- name: prysm/beacon-chain
base: gcr.io/prysmaticlabs/prysm/beacon-chain
file: Dockerfile.eth-beacon
tags:
- stable
- v5.2.0
- name: prysm/validator
base: gcr.io/prysmaticlabs/prysm/validator
file: Dockerfile.eth-validator
tags:
- stable
- v5.2.0
2 changes: 1 addition & 1 deletion starship/registry/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (c *ChainClient) GetChainKeys(ctx context.Context) (*pb.Keys, error) {
return keys, nil
}

// getChannelPort returns the chains and the counterparty info
// getChannelsPorts returns the chains and the counterparty info
func (c *ChainClient) getChannelsPorts() ([]ChannelsInfo, error) {
querier := query.Query{Client: c.client, Options: query.DefaultOptions()}

Expand Down

0 comments on commit 1ba8c4c

Please sign in to comment.