Conversation
🤖 Codex Code ReviewChanges here are documentation/Makefile only; no Rust, fork choice, attestation, STF, XMSS, or SSZ code touched in this PR, so consensus‑layer correctness isn’t affected. Findings
Notes
If you want, I can propose exact text updates for Automated review by OpenAI Codex · custom prompt |
🤖 Claude Code ReviewPerfect! Now I have a complete understanding of the PR. Let me compile my review: PR Review: feat: simplify devnet setup (#109)SummaryThis PR simplifies the devnet setup by removing local metrics stack configuration (which was integrated into lean-quickstart) and improves the Changes Overview✅ Removed files: Local metrics stack (docker-compose, Grafana dashboards, Prometheus configs) Review Findings✅ Good Changes
|
Greptile OverviewGreptile SummaryThis PR simplifies local devnet setup by removing the in-repo Grafana/Prometheus metrics stack, adding a Confidence Score: 3/5
|
| Filename | Overview |
|---|---|
| Makefile | Adds fmt target and rewrites run-devnet to patch lean-quickstart script with DOCKER_TAG and log to devnet.log. |
| README.md | Updates getting started to list common make targets and adjusts devnet description/config guidance. |
| docs/metrics.md | Removes in-repo metrics stack reference; points users to lean-quickstart for Grafana/Prometheus dashboards. |
| metrics/README.md | Deletes metrics stack README as part of removing in-repo metrics tooling. |
| metrics/docker-compose-metrics.yaml | Deletes docker compose file for Grafana/Prometheus metrics stack. |
| metrics/grafana/dashboards/client-dashboard.json | Removes bundled Grafana client dashboard JSON. |
| metrics/grafana/dashboards/client-interop-dashboard.json | Removes bundled Grafana interop dashboard JSON. |
| metrics/grafana/provisioning/dashboards/dashboards.yml | Deletes Grafana provisioning for dashboards. |
| metrics/grafana/provisioning/datasources/prometheus.yml | Deletes Grafana provisioning for Prometheus datasource. |
| metrics/prometheus/prometheus.yml | Deletes Prometheus scrape configuration for local metrics stack. |
Sequence Diagram
sequenceDiagram
participant Dev as Developer
participant Make as Makefile
participant Docker as docker
participant LQS as lean-quickstart repo
participant Sh as spin-node.sh
participant Client as ethlambda (docker image)
Dev->>Make: make run-devnet (DOCKER_TAG=...)
Make->>Docker: make docker-build (tag ghcr.io/lambdaclass/ethlambda:${DOCKER_TAG})
Make->>LQS: git clone lean-quickstart (if missing)
Make->>LQS: sed replace image tag in client-cmds/ethlambda-cmd.sh
Make->>Sh: cd lean-quickstart && NETWORK_DIR=local-devnet ./spin-node.sh --node all --generateGenesis --metrics
Sh->>Client: start nodes using updated image tag
Sh-->>Make: stream logs (redirected to devnet.log)
Make-->>Dev: prints instructions / exits
This PR updates the devnet setup we have in our repo:
--metricsis passed blockblaz/lean-quickstart#109run-devnettarget to use the just built Docker tag for the devnetmake fmttarget for formatting the code