A local devnet for running the DAS prototype from the das Lighthouse branch.
This configuration runs 2 "super" nodes and 2 regular nodes (subscribes to 1 column subnets). It also spams transactions and blobs to the network, so we can see blob columns getting published and received by peers. PeerDAS is activated from epoch 3.
Metrics are available on Grafana dashboard.
- Docker installed
- Kurtosis installed: https://docs.kurtosis.com/install/#ii-install-the-cli
For MacOS
brew install kurtosis-tech/tap/kurtosis-cli
From the das branch, run the following command
docker build --build-arg FEATURES=portable -t lighthouse:das .
Run the following comand to start a local devnet using the network params from this gist:
kurtosis run --enclave das-devnet github.com/kurtosis-tech/ethereum-package --args-file
https://gist.githubusercontent.com/jimmygchen/54574443ea8a94118f0f748b69a5e610/raw/a219867d8b470a67cb4874ccd147899c5281c2ca/network_params.yaml
Alternatively, if you'd like to modify the network params, copy the network_params.yaml file below to current working directory and run:
kurtosis run --enclave das-devnet \
github.com/kurtosis-tech/ethereum-package \
"$(cat ./network_params.yaml)"
Kurtosis runs the nodes in Docker, and the containers can be inspected directly using the docker command.
To inspect them with Kurtosis, run:
kurtosis enclave inspect das-devnet
or via a GUI:
kurtosis web
kurtosis enclave rm -f das-devnet
kurtosis service shell das-devnet $SERVICE_NAME
kurtosis service logs das-devnet $SERVICE_NAME