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:
rob
2026-07-21 02:14:30 +00:00
parent fbc5af63e2
commit ceefedf5ab
18 changed files with 30750 additions and 477 deletions

View File

@@ -29,22 +29,6 @@ x-logging-defaults: &logging-defaults
# --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
services:
hashkeychain-testnet-op-reth-pruned-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-op-reth-pruned:
image: ${HASHKEYCHAIN_RETH_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-reth}:${HASHKEYCHAIN_TESTNET_RETH_VERSION:-v2.3.3}
sysctls:
@@ -99,9 +83,6 @@ services:
- --authrpc.jwtsecret=/jwtsecret
restart: unless-stopped
stop_grace_period: 5m
depends_on:
hashkeychain-testnet-op-reth-pruned-init:
condition: service_completed_successfully
networks:
- chains
volumes:
@@ -124,21 +105,6 @@ services:
- traefik.http.routers.hashkeychain-testnet-op-reth-pruned-trace.middlewares=hashkeychain-testnet-op-reth-pruned-trace-stripprefix, ipallowlist
shm_size: 2gb
hashkeychain-testnet-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://hashkeychain.s3.ap-southeast-1.amazonaws.com/testnet/rollup.json"
restart: no
networks:
- chains
volumes:
- ./op/hashkeychain/testnet:/config
logging: *logging-defaults
hashkeychain-testnet-op-reth-pruned-node:
image: ${HASHKEYCHAIN_NODE_IMAGE:-us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node}:${HASHKEYCHAIN_TESTNET_NODE_VERSION:-v1.19.2}
ports:
@@ -175,8 +141,6 @@ services:
entrypoint: [op-node]
restart: unless-stopped
depends_on:
hashkeychain-testnet-op-reth-pruned-node-init:
condition: service_completed_successfully
hashkeychain-testnet-op-reth-pruned:
condition: service_started
restart: true