downgrade

This commit is contained in:
Sebastian
2024-04-20 04:53:30 +02:00
parent d90a39593e
commit 01296611cc
3 changed files with 27 additions and 10 deletions

View File

@@ -3,7 +3,11 @@ version: '3.1'
services:
op-zora-mainnet: # this is Optimism's geth client
#image: stakesquid/op-zora-mainnet:v0.1
build: ./op
build:
context: ./op
args:
OP_VERSION: v1.3.1
GETH_VERSION: v1.101304.1
expose:
- 8545 # RPC / Websocket
- 2483 # P2P TCP (currently unused)
@@ -42,7 +46,11 @@ services:
op-zora-mainnet-node:
#image: stakesquid/op-zora-mainnet:v0.1
build: ./op
build:
context: ./op
args:
OP_VERSION: v1.3.1
GETH_VERSION: v1.101304.1
depends_on:
- op-zora-mainnet
expose:

View File

@@ -2,13 +2,13 @@ FROM golang:1.21 as op
WORKDIR /app
ENV REPO=https://github.com/ethereum-optimism/optimism.git
ENV VERSION=v1.7.1
ARG OP_REPO=https://github.com/ethereum-optimism/optimism.git
ARG OP_VERSION=v1.7.1
# for verification:
RUN git clone $REPO --branch op-node/$VERSION --single-branch . && \
git switch -c branch-$VERSION
RUN git clone $OP_REPO --branch op-node/$OP_VERSION --single-branch . && \
git switch -c branch-$OP_VERSION
RUN cd op-node && \
@@ -18,12 +18,12 @@ FROM golang:1.21 as geth
WORKDIR /app
ENV REPO=https://github.com/ethereum-optimism/op-geth.git
ENV VERSION=v1.101308.2
ARG GETH_REPO=https://github.com/ethereum-optimism/op-geth.git
ARG GETH_VERSION=v1.101308.2
# avoid depth=1, so the geth build can read tags
RUN git clone $REPO --branch $VERSION --single-branch . && \
git switch -c branch-$VERSION
RUN git clone $GETH_REPO --branch $GETH_VERSION --single-branch . && \
git switch -c branch-$GETH_VERSION
RUN go run build/ci.go install -static ./cmd/geth

View File

@@ -226,5 +226,14 @@
"id": 534352,
"urls": ["https://rpc.scroll.io"],
"default": ["scroll-mainnet"]
},
"zora": {
"id": 7777777,
"urls": [
"https://rpc.zora.energy"
],
"default": [
"op-zora-mainnet"
]
}
}