downgrade
This commit is contained in:
@@ -3,7 +3,11 @@ version: '3.1'
|
|||||||
services:
|
services:
|
||||||
op-zora-mainnet: # this is Optimism's geth client
|
op-zora-mainnet: # this is Optimism's geth client
|
||||||
#image: stakesquid/op-zora-mainnet:v0.1
|
#image: stakesquid/op-zora-mainnet:v0.1
|
||||||
build: ./op
|
build:
|
||||||
|
context: ./op
|
||||||
|
args:
|
||||||
|
OP_VERSION: v1.3.1
|
||||||
|
GETH_VERSION: v1.101304.1
|
||||||
expose:
|
expose:
|
||||||
- 8545 # RPC / Websocket
|
- 8545 # RPC / Websocket
|
||||||
- 2483 # P2P TCP (currently unused)
|
- 2483 # P2P TCP (currently unused)
|
||||||
@@ -42,7 +46,11 @@ services:
|
|||||||
|
|
||||||
op-zora-mainnet-node:
|
op-zora-mainnet-node:
|
||||||
#image: stakesquid/op-zora-mainnet:v0.1
|
#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:
|
depends_on:
|
||||||
- op-zora-mainnet
|
- op-zora-mainnet
|
||||||
expose:
|
expose:
|
||||||
|
|||||||
@@ -2,13 +2,13 @@ FROM golang:1.21 as op
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
ENV REPO=https://github.com/ethereum-optimism/optimism.git
|
ARG OP_REPO=https://github.com/ethereum-optimism/optimism.git
|
||||||
ENV VERSION=v1.7.1
|
ARG OP_VERSION=v1.7.1
|
||||||
# for verification:
|
# for verification:
|
||||||
|
|
||||||
|
|
||||||
RUN git clone $REPO --branch op-node/$VERSION --single-branch . && \
|
RUN git clone $OP_REPO --branch op-node/$OP_VERSION --single-branch . && \
|
||||||
git switch -c branch-$VERSION
|
git switch -c branch-$OP_VERSION
|
||||||
|
|
||||||
|
|
||||||
RUN cd op-node && \
|
RUN cd op-node && \
|
||||||
@@ -18,12 +18,12 @@ FROM golang:1.21 as geth
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
ENV REPO=https://github.com/ethereum-optimism/op-geth.git
|
ARG GETH_REPO=https://github.com/ethereum-optimism/op-geth.git
|
||||||
ENV VERSION=v1.101308.2
|
ARG GETH_VERSION=v1.101308.2
|
||||||
|
|
||||||
# avoid depth=1, so the geth build can read tags
|
# avoid depth=1, so the geth build can read tags
|
||||||
RUN git clone $REPO --branch $VERSION --single-branch . && \
|
RUN git clone $GETH_REPO --branch $GETH_VERSION --single-branch . && \
|
||||||
git switch -c branch-$VERSION
|
git switch -c branch-$GETH_VERSION
|
||||||
|
|
||||||
RUN go run build/ci.go install -static ./cmd/geth
|
RUN go run build/ci.go install -static ./cmd/geth
|
||||||
|
|
||||||
|
|||||||
@@ -226,5 +226,14 @@
|
|||||||
"id": 534352,
|
"id": 534352,
|
||||||
"urls": ["https://rpc.scroll.io"],
|
"urls": ["https://rpc.scroll.io"],
|
||||||
"default": ["scroll-mainnet"]
|
"default": ["scroll-mainnet"]
|
||||||
|
},
|
||||||
|
"zora": {
|
||||||
|
"id": 7777777,
|
||||||
|
"urls": [
|
||||||
|
"https://rpc.zora.energy"
|
||||||
|
],
|
||||||
|
"default": [
|
||||||
|
"op-zora-mainnet"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user