Fix bob-sepolia op-reth-pruned-trace: local rollup config for op-node v1.19.0
Conduit's rollup.json lacked chain_op_config and fork times required by op-node v1.19.0, causing a crash loop. Mount op/bob/sepolia locally (genesis + rollup) and drop Conduit init containers. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -29,22 +29,6 @@ x-logging-defaults: &logging-defaults
|
||||
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
|
||||
|
||||
services:
|
||||
bob-sepolia-op-reth-pruned-init:
|
||||
image: alpine:3.21
|
||||
user: root
|
||||
entrypoint: [/bin/sh, -c]
|
||||
command:
|
||||
- |
|
||||
apk add --no-cache curl wget
|
||||
mkdir -p /config
|
||||
[ -f /config/genesis.json ] || curl -fsSL -o /config/genesis.json "https://api.conduit.xyz/file/v1/optimism/genesis/bob-sepolia-dm6uw0yhh3"
|
||||
restart: no
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${BOB_SEPOLIA_OP_RETH_PRUNED_TRACE_CONFIG:-bob-sepolia-op-reth-pruned-trace_config}:/config
|
||||
logging: *logging-defaults
|
||||
|
||||
bob-sepolia-op-reth-pruned:
|
||||
image: ${BOB_RETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-reth}:${BOB_SEPOLIA_RETH_VERSION:-v2.3.1}
|
||||
sysctls:
|
||||
@@ -102,14 +86,11 @@ services:
|
||||
- --authrpc.jwtsecret=/jwtsecret
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
depends_on:
|
||||
bob-sepolia-op-reth-pruned-init:
|
||||
condition: service_completed_successfully
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${BOB_SEPOLIA_OP_RETH_PRUNED_TRACE_CONFIG:-bob-sepolia-op-reth-pruned-trace_config}:/config
|
||||
- ${BOB_SEPOLIA_OP_RETH_PRUNED_TRACE_DATA:-bob-sepolia-op-reth-pruned-trace}:/root/.local/share/reth
|
||||
- ./op/bob/sepolia:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
- /slowdisk:/slowdisk
|
||||
logging: *logging-defaults
|
||||
@@ -127,21 +108,6 @@ services:
|
||||
- traefik.http.routers.bob-sepolia-op-reth-pruned-trace.middlewares=bob-sepolia-op-reth-pruned-trace-stripprefix, ipallowlist
|
||||
shm_size: 2gb
|
||||
|
||||
bob-sepolia-op-reth-pruned-node-init:
|
||||
image: alpine:3.20
|
||||
entrypoint: [/bin/sh, -c]
|
||||
command:
|
||||
- |
|
||||
apk add --no-cache ca-certificates curl
|
||||
mkdir -p /config
|
||||
[ -f /config/rollup.json ] || curl -fsSL -o /config/rollup.json "https://api.conduit.xyz/file/v1/optimism/rollup/bob-sepolia-dm6uw0yhh3"
|
||||
restart: no
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${BOB_SEPOLIA_OP_RETH_PRUNED_TRACE_NODE_CONFIG:-bob-sepolia-op-reth-pruned-trace_node_config}:/config
|
||||
logging: *logging-defaults
|
||||
|
||||
bob-sepolia-op-reth-pruned-node:
|
||||
image: ${BOB_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${BOB_SEPOLIA_NODE_VERSION:-v1.19.0}
|
||||
ports:
|
||||
@@ -161,6 +127,8 @@ services:
|
||||
- OP_NODE_METRICS_ADDR=0.0.0.0
|
||||
- OP_NODE_METRICS_ENABLED=true
|
||||
- OP_NODE_METRICS_PORT=7300
|
||||
- OP_NODE_OVERRIDE_GRANITE=1725984001
|
||||
- OP_NODE_OVERRIDE_HOLOCENE=1732633200
|
||||
- OP_NODE_OVERRIDE_JOVIAN=1772548201
|
||||
- OP_NODE_OVERRIDE_PECTRABLOBSCHEDULE=1742486400
|
||||
- OP_NODE_P2P_ADVERTISE_IP=${IP}
|
||||
@@ -177,14 +145,12 @@ services:
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
bob-sepolia-op-reth-pruned-node-init:
|
||||
condition: service_completed_successfully
|
||||
bob-sepolia-op-reth-pruned:
|
||||
condition: service_started
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ${BOB_SEPOLIA_OP_RETH_PRUNED_TRACE_NODE_CONFIG:-bob-sepolia-op-reth-pruned-trace_node_config}:/config
|
||||
- ./op/bob/sepolia:/config
|
||||
- .jwtsecret:/jwtsecret:ro
|
||||
logging: *logging-defaults
|
||||
labels:
|
||||
@@ -202,11 +168,6 @@ services:
|
||||
|
||||
volumes:
|
||||
bob-sepolia-op-reth-pruned-trace:
|
||||
bob-sepolia-op-reth-pruned-trace_config:
|
||||
bob-sepolia-op-reth-pruned-trace_node_config:
|
||||
|
||||
x-ephemeral-volumes:
|
||||
- bob-sepolia-op-reth-pruned-trace_config
|
||||
|
||||
x-upstreams:
|
||||
- id: $${ID}
|
||||
|
||||
Reference in New Issue
Block a user