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 #2

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

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
29 changes: 29 additions & 0 deletions fork.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
title: "layr-labs/go-ethereum" # Define the HTML page title
logo: "logo.png"
footer: | # define the footer with markdown
[nitro-go-ethereum](https://github.com/Layr-Labs/go-ethereum) fork overview &middot created with [Forkdiff](https://github.com/protolambda/forkdiff)
base:
name: OffchainLabs/go-ethereum
url: https://github.com/OffchainLabs/go-ethereum
hash: 17cd00167543a5a2b0b083e32820051100154c2f
fork:
name: Layr-Labs/nitro-go-ethereum
url: https://github.com/Layr-Labs/go-ethereum
ref: refs/heads/eigenda
def:
title: "Nitro Go Ethereum Fork Overview"
description: | # description in markdown
The original nitro go-ethereum codebase can be found at [`github.com/OffchainLabs/go-ethereum`](https://github.com/OffchainLabs/go-ethereum).
And the fork at [`github.com/Layr-Labs/nitro-go-ethereum`](https://github.com/Layr-Labs/nitro-go-ethereum).

sub:
- title: "Config Changes"
description: |
Updated core Arbitrum Chain Param configs to populate EigenDA boolean feature flag.
Also added testing configs specific to EigenDA.

globs:
- params/config_arbitrum.go

ignore:
- "*.sum"
6 changes: 3 additions & 3 deletions params/config_arbitrum.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func ArbitrumDevTestParams() ArbitrumChainParams {
AllowDebugPrecompiles: true,
DataAvailabilityCommittee: false,
InitialArbOSVersion: 32,
EigenDA: false,
EigenDA: false,
InitialChainOwner: common.Address{},
}
}
Expand Down Expand Up @@ -152,7 +152,7 @@ func ArbitrumAnytrustGoerliTestnetParams() ArbitrumChainParams {
EnableArbOS: true,
AllowDebugPrecompiles: false,
DataAvailabilityCommittee: true,
EigenDA: false,
EigenDA: false,
InitialArbOSVersion: 2,
InitialChainOwner: common.HexToAddress("0x186B56023d42B2B4E7616589a5C62EEf5FCa21DD"),
}
Expand Down Expand Up @@ -344,4 +344,4 @@ var ArbitrumSupportedChainConfigs = []*ChainConfig{
ArbitrumDevTestDASChainConfig(),
ArbitrumAnytrustGoerliTestnetChainConfig(),
ArbitrumDevTestEigenDAConfig(),
}
}
Loading