diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 8ddc97441c2a..6c3d225e0021 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -18,10 +18,8 @@ concurrency: name: bench jobs: iai: - runs-on: - group: Reth + runs-on: ubuntu-latest # Only run benchmarks in merge groups and on main - if: github.event_name != 'pull_request' steps: - uses: actions/checkout@v4 - name: Install Valgrind diff --git a/.github/workflows/eth-sync.yml b/.github/workflows/eth-sync.yml index f473e29a57c6..efd5e0ce4f4c 100644 --- a/.github/workflows/eth-sync.yml +++ b/.github/workflows/eth-sync.yml @@ -19,9 +19,7 @@ jobs: sync: name: sync / 100k blocks # Only run sync tests in merge groups - if: github.event_name == 'merge_group' - runs-on: - group: Reth + runs-on: ubuntu-latest env: RUST_LOG: info,sync=error RUST_BACKTRACE: 1 diff --git a/.github/workflows/hive.yml b/.github/workflows/hive.yml index 3155fd4af2d1..3954ef384397 100644 --- a/.github/workflows/hive.yml +++ b/.github/workflows/hive.yml @@ -19,8 +19,7 @@ jobs: prepare-reth: if: github.repository == 'paradigmxyz/reth' timeout-minutes: 45 - runs-on: - group: Reth + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: mkdir artifacts @@ -53,8 +52,7 @@ jobs: prepare-hive: if: github.repository == 'paradigmxyz/reth' timeout-minutes: 45 - runs-on: - group: Reth + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Checkout hive tests @@ -182,8 +180,7 @@ jobs: - prepare-reth - prepare-hive name: run ${{ matrix.engine }} - ${{ matrix.scenario.sim }}${{ matrix.scenario.limit && format(' - {0}', matrix.scenario.limit) }} - runs-on: - group: Reth + runs-on: ubuntu-latest permissions: issues: write steps: @@ -256,8 +253,7 @@ jobs: notify-on-error: needs: test if: failure() - runs-on: - group: Reth + runs-on: ubuntu-latest steps: - name: Discord Webhook Action uses: tsickert/discord-webhook@v6.0.0 diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 82bd5705a320..9f238faf34e1 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -19,8 +19,7 @@ concurrency: jobs: test: name: test / ${{ matrix.network }} - runs-on: - group: Reth + runs-on: ubuntu-latest env: RUST_BACKTRACE: 1 strategy: @@ -28,6 +27,8 @@ jobs: network: ["ethereum", "optimism"] timeout-minutes: 60 steps: + - name: Free up space + run: rm -rf /opt/hostedtoolcache - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - name: Install Geth diff --git a/.github/workflows/op-sync.yml b/.github/workflows/op-sync.yml index 2a223391d711..dd864395a8e1 100644 --- a/.github/workflows/op-sync.yml +++ b/.github/workflows/op-sync.yml @@ -19,9 +19,7 @@ jobs: sync: name: op sync / 10k blocks # Only run sync tests in merge groups - if: github.event_name == 'merge_group' - runs-on: - group: Reth + runs-on: ubuntu-latest env: RUST_LOG: info,sync=error RUST_BACKTRACE: 1 diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml new file mode 100644 index 000000000000..55ce17f1d8e5 --- /dev/null +++ b/.github/workflows/pages.yaml @@ -0,0 +1,33 @@ +name: Build and publish forkdiff github-pages +permissions: + contents: write +on: + push: + branches: + - scroll +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 + + - name: Deploy + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: tmp/pages + clean: true \ No newline at end of file diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 60ffa8f73d72..67c4b2e4d423 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -21,9 +21,7 @@ jobs: stage: name: stage-run-test # Only run stage commands test in merge groups - if: github.event_name == 'merge_group' - runs-on: - group: Reth + runs-on: ubuntu-latest env: RUST_LOG: info,sync=error RUST_BACKTRACE: 1 diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index a6663aea8843..15880420097c 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -19,8 +19,7 @@ concurrency: jobs: test: name: test / ${{ matrix.network }} (${{ matrix.partition }}/2) - runs-on: - group: Reth + runs-on: ubuntu-latest env: RUST_BACKTRACE: 1 strategy: @@ -29,6 +28,8 @@ jobs: network: ["ethereum", "optimism"] timeout-minutes: 30 steps: + - name: Free up space + run: rm -rf /opt/hostedtoolcache - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 @@ -45,13 +46,14 @@ jobs: state: name: Ethereum state tests - runs-on: - group: Reth + runs-on: ubuntu-latest env: RUST_LOG: info,sync=error RUST_BACKTRACE: 1 timeout-minutes: 30 steps: + - name: Free up space + run: rm -rf /opt/hostedtoolcache - uses: actions/checkout@v4 - name: Checkout ethereum/tests uses: actions/checkout@v4 @@ -70,8 +72,7 @@ jobs: doc: name: doc tests (${{ matrix.network }}) - runs-on: - group: Reth + runs-on: ubuntu-latest env: RUST_BACKTRACE: 1 timeout-minutes: 30 diff --git a/fork.yaml b/fork.yaml new file mode 100644 index 000000000000..7e0bdbb252d1 --- /dev/null +++ b/fork.yaml @@ -0,0 +1,18 @@ +title: "scroll-reth" +footer: | + Fork-diff overview of [`scroll-reth`](https://github.com/scroll-tech/reth), a fork of [`reth`](https://github.com/paradigmxyz/reth). +base: + name: reth + url: https://github.com/paradigmxyz/reth + hash: 5d2867f2c5bd2aaa5673f31cf4c13b8f4f1e2c39 +fork: + name: scroll-reth + url: https://github.com/scroll-tech/reth + ref: refs/heads/scroll +def: + title: "scroll-reth" + description: | + This is an overview of the changes in [`scroll-reth`](https://github.com/scroll-tech/reth), + a fork of [`reth`](https://github.com/paradigmxyz/reth). + globs: + - "*"