doma-testnet: vendor rollup.json with chain_op_config

Conduit's testnet rollup.json (doma-dev-ix58nm4rnd) omits chain_op_config,
crashing op-node v1.19.0 with 'cfg.Rollup.ChainOpConfig is nil'. Vendor a
complete rollup.json (chain_op_config eip1559 6/50/250, confirmed identical
in mainnet rollup.json and testnet genesis optimism config) plus the
post-fjord fork times baked in, mounted via custom_config so op-node uses
the local file instead of curling Conduit's incomplete one.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-17 02:50:29 +00:00
parent f4b42ff530
commit 4ea0bed344
2 changed files with 49 additions and 9 deletions

View File

@@ -0,0 +1,44 @@
{
"genesis": {
"l1": {
"hash": "0x4e3ab0dd0e07b3f2c04e5678b14c69197a4341c9db38f6a2e93a966b84347330",
"number": 7459270
},
"l2": {
"hash": "0x1a551331902837e62bea81ae4e11af1dd62e481bb0f1803233c5c275d3f7d480",
"number": 0
},
"l2_time": 1736491908,
"system_config": {
"batcherAddr": "0x7bff49d5c9ba8e518061f4978e8ff0920eaa3a7c",
"overhead": "0x00000000000000000000000000000000000000000000000000000000000000bc",
"scalar": "0x0000000000000000000000000000000000000000000000000000000000010b30",
"gasLimit": 30000000
}
},
"block_time": 2,
"max_sequencer_drift": 600,
"seq_window_size": 3600,
"channel_timeout": 300,
"l1_chain_id": 11155111,
"l2_chain_id": 97476,
"regolith_time": 0,
"canyon_time": 0,
"delta_time": 0,
"ecotone_time": 0,
"fjord_time": 0,
"batch_inbox_address": "0x7a666bec1e5ea04f832a03edd36516dcc04f8712",
"deposit_contract_address": "0x330c5f4dbe72ac987015d3dd390eba3b25968b1c",
"l1_system_config_address": "0xa6378952eb60076ac26546c02c93d32b38f8655e",
"protocol_versions_address": "0x0000000000000000000000000000000000000000",
"da_challenge_contract_address": "0x0000000000000000000000000000000000000000",
"chain_op_config": {
"eip1559Elasticity": 6,
"eip1559Denominator": 50,
"eip1559DenominatorCanyon": 250
},
"granite_time": 1744729200,
"holocene_time": 1744822800,
"isthmus_time": 1744905600,
"jovian_time": 1768978801
}

View File

@@ -42,7 +42,7 @@ services:
networks: networks:
- chains - chains
volumes: volumes:
- ${DOMA_TESTNET_OP_RETH_PRUNED_TRACE_CONFIG:-doma-testnet-op-reth-pruned-trace_config}:/config - ./op/doma/testnet:/config
logging: *logging-defaults logging: *logging-defaults
doma-testnet-op-reth-pruned: doma-testnet-op-reth-pruned:
@@ -69,6 +69,7 @@ services:
entrypoint: [op-reth, node] entrypoint: [op-reth, node]
command: command:
- --chain=/config/genesis.json - --chain=/config/genesis.json
- --config=/config/reth/reth.toml
- --datadir=/root/.local/share/reth - --datadir=/root/.local/share/reth
- --disable-discovery - --disable-discovery
- --engine.cross-block-cache-size=${DOMA_TESTNET_RETH_STATE_CACHE:-4096} - --engine.cross-block-cache-size=${DOMA_TESTNET_RETH_STATE_CACHE:-4096}
@@ -104,8 +105,8 @@ services:
networks: networks:
- chains - chains
volumes: volumes:
- ${DOMA_TESTNET_OP_RETH_PRUNED_TRACE_CONFIG:-doma-testnet-op-reth-pruned-trace_config}:/config
- ${DOMA_TESTNET_OP_RETH_PRUNED_TRACE_DATA:-doma-testnet-op-reth-pruned-trace}:/root/.local/share/reth - ${DOMA_TESTNET_OP_RETH_PRUNED_TRACE_DATA:-doma-testnet-op-reth-pruned-trace}:/root/.local/share/reth
- ./op/doma/testnet:/config
- .jwtsecret:/jwtsecret:ro - .jwtsecret:/jwtsecret:ro
- /slowdisk:/slowdisk - /slowdisk:/slowdisk
logging: *logging-defaults logging: *logging-defaults
@@ -135,7 +136,7 @@ services:
networks: networks:
- chains - chains
volumes: volumes:
- ${DOMA_TESTNET_OP_RETH_PRUNED_TRACE_NODE_CONFIG:-doma-testnet-op-reth-pruned-trace_node_config}:/config - ./op/doma/testnet:/config
logging: *logging-defaults logging: *logging-defaults
doma-testnet-op-reth-pruned-node: doma-testnet-op-reth-pruned-node:
@@ -185,7 +186,7 @@ services:
networks: networks:
- chains - chains
volumes: volumes:
- ${DOMA_TESTNET_OP_RETH_PRUNED_TRACE_NODE_CONFIG:-doma-testnet-op-reth-pruned-trace_node_config}:/config - ./op/doma/testnet:/config
- .jwtsecret:/jwtsecret:ro - .jwtsecret:/jwtsecret:ro
logging: *logging-defaults logging: *logging-defaults
labels: labels:
@@ -203,11 +204,6 @@ services:
volumes: volumes:
doma-testnet-op-reth-pruned-trace: doma-testnet-op-reth-pruned-trace:
doma-testnet-op-reth-pruned-trace_config:
doma-testnet-op-reth-pruned-trace_node_config:
x-ephemeral-volumes:
- doma-testnet-op-reth-pruned-trace_config
x-upstreams: x-upstreams:
- id: $${ID} - id: $${ID}