Skip to content

Commit

Permalink
feat: Fork Diff Summary
Browse files Browse the repository at this point in the history
  • Loading branch information
epociask committed Jan 8, 2025
1 parent ba45a30 commit 7c35861
Show file tree
Hide file tree
Showing 3 changed files with 5,976 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build and publish forkdiff github-pages
permissions:
contents: write
on:
push:
branches:
- main
- epociask--feat-fork-diff
jobs:
deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1000 # make sure to fetch the old commit we diff against

- name: Build forkdiff
uses: "docker://protolambda/forkdiff:0.1.0"
with:
args: -repo=/github/workspace -fork=/github/workspace/fork.yaml -out=/github/workspace/index.html

- name: Build pages
run: |
mkdir -p tmp/pages
mv index.html tmp/pages/index.html
touch tmp/pages/.nojekyll
# if [ "$GITHUB_REPOSITORY" == "ethereum-optimism/op-geth" ]; then
# echo "op-geth.optimism.io" > tmp/pages/CNAME
# fi;

- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: tmp/pages
clean: true
77 changes: 77 additions & 0 deletions fork.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
title: "layr-labs/nitro-testnode" # Define the HTML page title
logo: "logo.png"
footer: | # define the footer with markdown
[Nitro Testnode](https://github.com/Layr-Labs/nitro-testnode) fork overview &middot created with [Forkdiff](https://github.com/protolambda/forkdiff)
base:
name: OffchainLabs/nitro-testnode
url: https://github.com/OffchainLabs/nitro-testnode
hash: f328006579cbefe22c6c57de3d6b86397fde4438
fork:
name: Layr-Labs/nitro-testnode
url: https://github.com/Layr-Labs/nitro-testnode
hash: 99d425358eb9324f70b793ace9db807789e41a9f
def:
title: "Nitro Testnode Fork Diff"
description: | # description in markdown
The original nitro codebase can be found at [`github.com/OffchainLabs/nitro-testnode`](https://github.com/OffchainLabs/nitro).
And the fork at [`github.com/Layr-Labs/nitro-testnode`](https://github.com/Layr-Labs/nitro).
sub:

- title: "EigenDA Support"
description: |
Added support for EigenDA:
- Updated config generation script to express EigenDA chain params
- Updated rollup creator deployment script to target `layr-labs/nitro-contracts`
- Updated core docker compose to wire EigenDA proxy dependency
globs:
- "scripts/config.ts"
- "rollupcreator/Dockerfile"
- "docker-compose.yaml"

- title: "Observability"
description: |
Added optional observability to the testnode environment:
- Prometheus agent for collecting service metrics
- Loki for log collecting
- PProf on sequencer resources to capture key performance metrics
- Grafana dashboard to capture key throughput and reliability metrics
Observability can be enabled by passing `--monitor` to the root level `test-node.bash` script.
globs:
- "loki/**"
- "grafana/**"
- "prometheus/**"
- "promtail/**"
- "test-node.bash"

- title: "Throughput Testing"
description: |
Added a `flood.ts` script which generates tx traffic targeting a specific byte rate.
E.g:
```
docker compose run scripts flood --serial true --rounds 1000 --targetThroughput 100_000
```
This will target 100,000 Kb/s.
globs:
- "scripts/index.ts"
- "scripts/flood.ts"





ignore:
- "grafana/dashboards/Throughput-testing.json"
Loading

0 comments on commit 7c35861

Please sign in to comment.