Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update readme to run against kurtosis with eigenda v1 #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
39 changes: 0 additions & 39 deletions op-devnet.docker-compose.yml.patch

This file was deleted.