From 71e3475f37b2bdffe61939324776e0b2a1533e1d Mon Sep 17 00:00:00 2001 From: Ethen Pociask Date: Fri, 10 Jan 2025 20:46:33 +0700 Subject: [PATCH] feat: Fork Diff Summary --- .github/workflows/pages.yml | 48 +++++++++++++++++++++++++++ fork.yaml | 65 +++++++++++++++++++++++++++++++++++++ 2 files changed, 113 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 0000000..614dde9 --- /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: + - 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 \ No newline at end of file diff --git a/fork.yaml b/fork.yaml new file mode 100644 index 0000000..f9ab9c9 --- /dev/null +++ b/fork.yaml @@ -0,0 +1,65 @@ +title: "layr-labs/orbit-actions" # Define the HTML page title +logo: "logo.png" +footer: | # define the footer with markdown + [orbit-sdk](https://github.com/Layr-Labs/orbit-actions) fork overview · created with [Forkdiff](https://github.com/protolambda/forkdiff) +base: + name: OffchainLabs/orbit-actions + url: https://github.com/OffchainLabs/orbit-actions + hash: 9e3c1c344cd762e04316fae426bf42da251c45e2 +fork: + name: Layr-Labs/orbit-actions + url: https://github.com/Layr-Labs/orbit-actions + ref: refs/heads/main +def: + title: "Orbit Actions Fork Overview" + description: | # description in markdown + The original orbit-actions codebase can be found at [`github.com/OffchainLabs/orbit-actions`](https://github.com/OffchainLabs/orbit-actions). + And the fork at [`github.com/Layr-Labs/orbit-actions`](https://github.com/Layr-Labs/orbit-actions). + + sub: + - title: "eigenda x nitro-contracts support" + globs: + - package.json + - foundry.toml + + + - title: "eigenda x nitro-contracts v2.1.0 migration action" + description: | + Built an action to allow for migrating existing Nitro contracts deployed using v2.1.0 to using ones with EigenDA changes. + This allows anyone running a vanilla Arbitrum chain to migrate it to use EigenDA. + globs: + - scripts/foundry/contract-upgrades/eigenda-2.1.0/README.md + - scripts/foundry/contract-upgrades/eigenda-2.1.0/.env.sample + + sub: + - title: "Upgrade Action Contract" + + globs: + - contracts/parent-chain/contract-upgrades/NitroContractsEigenDA2Point1Point0UpgradeAction.sol + + - title: "Deploy Action Script" + globs: + - scripts/foundry/contract-upgrades/eigenda-2.1.0/DeployNitroContractsEigenDA2Point1Point0UpgradeAction.s.sol + + - title: "Execute Action Script" + globs: + - scripts/foundry/contract-upgrades/eigenda-2.1.0/ExecuteNitroContractsEigenDA2Point1Point0Upgrade.s.sol + + + # globs: + # - src/contracts/RollupCreator/v2.1.0.ts + + + # - title: "EigenDA namespace" + # descrption: | + # Added EigenDA namespace in-place of original Arbitrum namespace. + + # globs: + # - examples/** + + + +ignore: + - test/storage/** + - test/signatures/** + - yarn.lock