From b04b0dc3f72ed3156e8ac3ece82c3c2c9923a5d3 Mon Sep 17 00:00:00 2001 From: Jean Gal Date: Thu, 13 Nov 2025 11:52:57 -0500 Subject: [PATCH 1/3] Enable EigenDaProxy & MEMSTORE --- espresso/docker-compose.yml | 35 ++++++++++++++++++++++++++++++ espresso/scripts/prepare-allocs.sh | 4 ++++ 2 files changed, 39 insertions(+) diff --git a/espresso/docker-compose.yml b/espresso/docker-compose.yml index d1f19714608..5047eb19fc9 100644 --- a/espresso/docker-compose.yml +++ b/espresso/docker-compose.yml @@ -337,6 +337,8 @@ services: condition: service_started espresso-dev-node: condition: service_started + eigenda-proxy: + condition: service_healthy l2-genesis: condition: service_completed_successfully environment: @@ -358,7 +360,16 @@ services: - --espresso.testing-batcher-private-key=${OP_TESTING_BATCHER_PRIVATE_KEY:-$OPERATOR_PRIVATE_KEY} - --private-key=${OP_BATCHER_PRIVATE_KEY:-$OPERATOR_PRIVATE_KEY} - --throttle-threshold=0 + - --max-channel-duration=2 + - --target-num-frames=1 + - --max-pending-tx=32 + - --altda.enabled=true + - --altda.da-server=http://eigenda-proxy:3100 + - --altda.da-service=true - --altda.max-concurrent-da-requests=32 + - --altda.put-timeout=30s + - --altda.get-timeout=30s + - --data-availability-type=calldata op-batcher-tee: profiles: ["tee"] @@ -503,6 +514,30 @@ services: OP_CHALLENGER_CANNON_L2_GENESIS: /config/genesis.json OP_CHALLENGER_TRACE_TYPE: permissioned + eigenda-proxy: + image: ghcr.io/layr-labs/eigenda-proxy:2.2.1 + platform: linux/amd64 + ports: + - "${EIGENDA_PROXY_PORT:-3100}:3100" + environment: + EIGENDA_PROXY_STORAGE_BACKENDS_TO_ENABLE: V2 + EIGENDA_PROXY_STORAGE_DISPERSAL_BACKEND: V2 + EIGENDA_PROXY_EIGENDA_V2_NETWORK: ${EIGENDA_PROXY_EIGENDA_V2_NETWORK:-sepolia_testnet} + EIGENDA_PROXY_MEMSTORE_ENABLED: ${EIGENDA_PROXY_MEMSTORE_ENABLED:-true} + EIGENDA_PROXY_MEMSTORE_EXPIRATION: ${EIGENDA_PROXY_MEMSTORE_EXPIRATION:-25m0s} + EIGENDA_PROXY_LOG_FORMAT: ${EIGENDA_PROXY_LOG_FORMAT:-text} + EIGENDA_PROXY_LOG_LEVEL: ${EIGENDA_PROXY_LOG_LEVEL:-INFO} + + # PORT configuration + PORT: "3100" + healthcheck: + test: ["CMD-SHELL", "nc -z localhost 3100 || exit 1"] + interval: 10s + timeout: 5s + retries: 5 + start_period: 120s + restart: unless-stopped + espresso-dev-node: image: ${ESPRESSO_DEV_NODE_IMAGE} depends_on: diff --git a/espresso/scripts/prepare-allocs.sh b/espresso/scripts/prepare-allocs.sh index 8a827be6be3..fd40faa9b6e 100755 --- a/espresso/scripts/prepare-allocs.sh +++ b/espresso/scripts/prepare-allocs.sh @@ -91,6 +91,10 @@ dasel put -f "${DEPLOYER_DIR}/intent.toml" -s .chains.[0].roles.systemConfigOwne dasel put -f "${DEPLOYER_DIR}/intent.toml" -s .chains.[0].roles.unsafeBlockSigner -v "${OPERATOR_ADDRESS}" dasel put -f "${DEPLOYER_DIR}/intent.toml" -s .chains.[0].roles.batcher -v "${OPERATOR_ADDRESS}" dasel put -f "${DEPLOYER_DIR}/intent.toml" -s .chains.[0].roles.proposer -v "${PROPOSER_ADDRESS}" +dasel put -f "${DEPLOYER_DIR}/intent.toml" -s .chains.[0].dangerousAltDAConfig.useAltDA -t bool -v true +dasel put -f "${DEPLOYER_DIR}/intent.toml" -s .chains.[0].dangerousAltDAConfig.daCommitmentType -v "GenericCommitment" +dasel put -f "${DEPLOYER_DIR}/intent.toml" -s .chains.[0].dangerousAltDAConfig.daChallengeWindow -t int -v 303 +dasel put -f "${DEPLOYER_DIR}/intent.toml" -s .chains.[0].dangerousAltDAConfig.daResolveWindow -t int -v 303 # Fill in a specified create2Salt for the deployer, in order to ensure that the # contract addresses are deterministic. From 896940324ea845c4333a0fee0edadade2006eca2 Mon Sep 17 00:00:00 2001 From: Jean Gal Date: Fri, 14 Nov 2025 14:38:48 -0500 Subject: [PATCH 2/3] longer eigenda-proxy start period --- espresso/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/espresso/docker-compose.yml b/espresso/docker-compose.yml index 5047eb19fc9..36d4a5eca4e 100644 --- a/espresso/docker-compose.yml +++ b/espresso/docker-compose.yml @@ -535,7 +535,7 @@ services: interval: 10s timeout: 5s retries: 5 - start_period: 120s + start_period: 240s restart: unless-stopped espresso-dev-node: From 753001e49fa0cb8eef7a8f442b12a6db5fa5b0fb Mon Sep 17 00:00:00 2001 From: Jean Gal Date: Fri, 14 Nov 2025 14:42:18 -0500 Subject: [PATCH 3/3] enable eigenda at the op-node level --- espresso/docker-compose.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/espresso/docker-compose.yml b/espresso/docker-compose.yml index 36d4a5eca4e..fd4a769e377 100644 --- a/espresso/docker-compose.yml +++ b/espresso/docker-compose.yml @@ -211,12 +211,21 @@ services: condition: service_healthy l1-validator: condition: service_started + eigenda-proxy: + condition: service_healthy environment: OP_NODE_L1_ETH_RPC: http://l1-geth:${L1_HTTP_PORT} OP_NODE_L1_BEACON: http://l1-beacon:${L1_BEACON_PORT} OP_NODE_L2_ENGINE_RPC: http://op-geth-sequencer:${OP_ENGINE_PORT} OP_NODE_RPC_PORT: ${ROLLUP_PORT} OP_NODE_SAFEDB_PATH: /data/safedb + OP_NODE_ALTDA_ENABLED: "true" + OP_NODE_ALTDA_DA_SERVICE: "true" + OP_NODE_ALTDA_VERIFY_ON_READ: "false" + OP_NODE_ALTDA_DA_SERVER: http://eigenda-proxy:3100 + OP_NODE_ALTDA_MAX_CONCURRENT_DA_REQUESTS: "32" + OP_NODE_ALTDA_PUT_TIMEOUT: "30s" + OP_NODE_ALTDA_GET_TIMEOUT: "30s" ports: - "${ROLLUP_PORT}:${ROLLUP_PORT}" volumes: @@ -252,12 +261,21 @@ services: condition: service_started l1-validator: condition: service_started + eigenda-proxy: + condition: service_healthy environment: L1_RPC: http://l1-geth:${L1_HTTP_PORT} OP_NODE_L1_ETH_RPC: http://l1-geth:${L1_HTTP_PORT} OP_NODE_L1_BEACON: http://l1-beacon:${L1_BEACON_PORT} OP_NODE_L2_ENGINE_RPC: http://op-geth-verifier:${OP_ENGINE_PORT} OP_NODE_RPC_PORT: ${VERIFIER_PORT} + OP_NODE_ALTDA_ENABLED: "true" + OP_NODE_ALTDA_DA_SERVICE: "true" + OP_NODE_ALTDA_VERIFY_ON_READ: "false" + OP_NODE_ALTDA_DA_SERVER: http://eigenda-proxy:3100 + OP_NODE_ALTDA_MAX_CONCURRENT_DA_REQUESTS: "32" + OP_NODE_ALTDA_PUT_TIMEOUT: "30s" + OP_NODE_ALTDA_GET_TIMEOUT: "30s" ports: - "${VERIFIER_PORT}:${VERIFIER_PORT}" volumes: