From dbe03ad7c66aa7553df8733ff71ebe0f59d72afa Mon Sep 17 00:00:00 2001 From: Ethen Pociask Date: Thu, 9 Jan 2025 03:23:32 +0700 Subject: [PATCH 1/2] feat: Fork Diff Summary --- .github/workflows/pages.yml | 48 +++++++++++++++++++++++++++++++++++++ fork.yaml | 29 ++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 .github/workflows/pages.yml create mode 100644 fork.yaml diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 000000000..b0baea613 --- /dev/null +++ b/.github/workflows/pages.yml @@ -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 \ No newline at end of file diff --git a/fork.yaml b/fork.yaml new file mode 100644 index 000000000..fcae31605 --- /dev/null +++ b/fork.yaml @@ -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 · 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" \ No newline at end of file From 6cd96ab3f9afe0c1490432a625464eb7786d99eb Mon Sep 17 00:00:00 2001 From: Ethen Pociask Date: Thu, 9 Jan 2025 03:40:29 +0700 Subject: [PATCH 2/2] feat: Fork Diff Summary - go fmt --- params/config_arbitrum.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/params/config_arbitrum.go b/params/config_arbitrum.go index 31cedcf3a..77bd1d238 100644 --- a/params/config_arbitrum.go +++ b/params/config_arbitrum.go @@ -120,7 +120,7 @@ func ArbitrumDevTestParams() ArbitrumChainParams { AllowDebugPrecompiles: true, DataAvailabilityCommittee: false, InitialArbOSVersion: 32, - EigenDA: false, + EigenDA: false, InitialChainOwner: common.Address{}, } } @@ -152,7 +152,7 @@ func ArbitrumAnytrustGoerliTestnetParams() ArbitrumChainParams { EnableArbOS: true, AllowDebugPrecompiles: false, DataAvailabilityCommittee: true, - EigenDA: false, + EigenDA: false, InitialArbOSVersion: 2, InitialChainOwner: common.HexToAddress("0x186B56023d42B2B4E7616589a5C62EEf5FCa21DD"), } @@ -344,4 +344,4 @@ var ArbitrumSupportedChainConfigs = []*ChainConfig{ ArbitrumDevTestDASChainConfig(), ArbitrumAnytrustGoerliTestnetChainConfig(), ArbitrumDevTestEigenDAConfig(), -} \ No newline at end of file +}