diff --git a/README.md b/README.md index 6360d6d..8390cb3 100644 --- a/README.md +++ b/README.md @@ -3,21 +3,23 @@ Hokulea is a library to provide the altda providers for a derivation pipeline built with [kona](https://github.com/anton-rs/kona) to understand eigenDA blobs, following the [kona book](https://anton-rs.github.io/kona/sdk/pipeline/providers.html#implementing-a-custom-data-availability-provider) recommendation (also see this [comment](https://github.com/anton-rs/kona/pull/862#issuecomment-2515038089)). ### Download SRS points -Hokulea host currently computes a challenge proof that validates the correctness of the eigenda blob against the provided kzg commitment. Such computation requires the host to have access to sufficient KZG SRS points. Follow the [link](https://github.com/Layr-Labs/eigenda-proxy/tree/main/resources) to download the points +Hokulea host currently computes a challenge proof that validates the correctness of the eigenda blob against the provided kzg commitment. Such computation requires the host to have access to sufficient KZG SRS points. Follow the [link](https://github.com/Layr-Labs/eigenda-proxy/tree/main/resources) to download the points and save it to ./resources/g1.point ### Running against devnet -First start the devnet: +First start the devnet on a local L1 that uses eigenda v1: ```bash -git clone -b v1.10.0 https://github.com/ethereum-optimism/optimism.git -# this patches the optimism devnet to use the eigenda-proxy instead of their da-server -git patch optimism/ops-bedrock/docker-compose.yml < op-devnet.docker-compose.yml.patch -DEVNET_ALTDA=true GENERIC_ALTDA=true make -C ./optimism devnet-up +git clone https://github.com/Layr-Labs/optimism.git +cd optimism/kurtosis-devnet && just eigenda-memstore-devnet ``` -Then run hokulea: +Then request rollup config and save it: +```bash +ROLLUP_NODE_RPC=$(kurtosis port print eigenda-memstore-devnet op-cl-1-op-node-op-geth-op-kurtosis http) && curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"optimism_rollupConfig","params":[],"id":1}' $ROLLUP_NODE_RPC | jq .result > rollup.json +``` +Then run hokulea against v1: ```bash cd bin/client just run-client-native-against-devnet ``` -![](./hokulea.jpeg) +![](./hokulea.jpeg) \ No newline at end of file diff --git a/op-devnet.docker-compose.yml.patch b/op-devnet.docker-compose.yml.patch deleted file mode 100644 index b5411a8..0000000 --- a/op-devnet.docker-compose.yml.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff --git a/ops-bedrock/docker-compose.yml b/ops-bedrock/docker-compose.yml -index adcaea8f4..5c5e2e8ee 100644 ---- a/ops-bedrock/docker-compose.yml -+++ b/ops-bedrock/docker-compose.yml -@@ -240,22 +240,20 @@ services: - OP_CHALLENGER_NUM_CONFIRMATIONS: 1 - - da-server: -- image: us-docker.pkg.dev/oplabs-tools-artifacts/images/da-server:devnet -- build: -- context: ../ -- dockerfile: ops/docker/op-stack-go/Dockerfile -- target: da-server-target -- command: > -- da-server -- --file.path=/data -- --addr=0.0.0.0 -- --port=3100 -- --log.level=debug -- --generic-commitment="${ALTDA_GENERIC_DA}" -+ image: ghcr.io/layr-labs/eigenda-proxy:main # TODO update image to v1.6.2 once this PR is released https://github.com/Layr-Labs/hokulea/pull/22 -+ environment: -+ EIGENDA_PROXY_ADDR: 0.0.0.0 -+ EIGENDA_PROXY_PORT: 3100 -+ EIGENDA_PROXY_METRICS_ENABLED: "true" -+ EIGENDA_PROXY_METRICS_PORT: 7300 -+ EIGENDA_PROXY_MEMSTORE_ENABLED: "true" -+ EIGENDA_PROXY_MEMSTORE_EXPIRATION: 45m -+ EIGENDA_PROXY_MEMSTORE_PUT_LATENCY: 0s -+ EIGENDA_PROXY_MEMSTORE_GET_LATENCY: 0s -+ EIGENDA_PROXY_EIGENDA_CERT_VERIFICATION_DISABLED: "true" - ports: - - "3100:3100" -- volumes: -- - "da_data:/data" -+ - "6969:7300" - - sentinel: - image: quarry/sentinel # TODO(10141): We need a public image for this (sentinel is out of repo)