hashkeychain: commit genesis assets + drop config-download init containers
Removes the alpine genesis/rollup init containers and their service_completed_successfully gate for all hashkeychain variants. The gate wedged us-40: a reconcile compose-up recreated the op-reth EL but not the init-gated op-node CL -> fresh EL + stale CL -> 2h engine freeze -> sole-provider market -> $0 (2026-07-21). genesis.json now committed beside the existing rollup.json so render_templates auto-detects custom_genesis/custom_rollup and binds the local files; CL now depends only on the EL (service_started, restart:true), identical to op-mainnet/op-sepolia. No S3 on the boot path. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.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:
|
||||
hashkeychain-testnet-init:
|
||||
image: alpine:3.21
|
||||
user: root
|
||||
entrypoint: [/bin/sh, -c]
|
||||
command:
|
||||
- |
|
||||
apk add --no-cache curl wget
|
||||
mkdir -p /config
|
||||
curl -fsSL -o /config/genesis.json "https://hashkeychain.s3.ap-southeast-1.amazonaws.com/testnet/genesis.json"
|
||||
restart: no
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ./op/hashkeychain/testnet:/config
|
||||
logging: *logging-defaults
|
||||
|
||||
hashkeychain-testnet:
|
||||
image: ${HASHKEYCHAIN_GETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth}:${HASHKEYCHAIN_TESTNET_GETH_VERSION:-v1.101702.2}
|
||||
sysctls:
|
||||
@@ -104,9 +88,6 @@ services:
|
||||
- --authrpc.vhosts=*
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 5m
|
||||
depends_on:
|
||||
hashkeychain-testnet-init:
|
||||
condition: service_completed_successfully
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
@@ -128,21 +109,6 @@ services:
|
||||
- ${NO_SSL:+traefik.http.routers.hashkeychain-testnet-op-geth-pruned-pebble-path.rule=Path(`/hashkeychain-testnet`) || Path(`/hashkeychain-testnet/`)}
|
||||
- traefik.http.routers.hashkeychain-testnet-op-geth-pruned-pebble-path.middlewares=hashkeychain-testnet-op-geth-pruned-pebble-path-stripprefix, ipallowlist
|
||||
|
||||
hashkeychain-testnet-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://hashkeychain.s3.ap-southeast-1.amazonaws.com/testnet/rollup.json"
|
||||
restart: no
|
||||
networks:
|
||||
- chains
|
||||
volumes:
|
||||
- ./op/hashkeychain/testnet:/config
|
||||
logging: *logging-defaults
|
||||
|
||||
hashkeychain-testnet-node:
|
||||
image: ${HASHKEYCHAIN_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${HASHKEYCHAIN_TESTNET_NODE_VERSION:-v1.19.2}
|
||||
ports:
|
||||
@@ -178,8 +144,6 @@ services:
|
||||
entrypoint: [op-node]
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
hashkeychain-testnet-node-init:
|
||||
condition: service_completed_successfully
|
||||
hashkeychain-testnet:
|
||||
condition: service_started
|
||||
restart: true
|
||||
|
||||
Reference in New Issue
Block a user