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

feat: Fork Diff Summary #19

Merged
merged 5 commits into from
Jan 8, 2025
Merged
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
47 changes: 47 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Build and publish forkdiff github-pages
permissions:
contents: read
pages: write
id-token: write
on:
push:
branches:
- main

jobs:
build:
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: Setup Pages
uses: actions/configure-pages@v5

- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site

- name: Upload artifact
uses: actions/upload-pages-artifact@v3

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
78 changes: 78 additions & 0 deletions fork.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
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: refs/heads/main

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