Skip to content

Commit

Permalink
Revert "Merge remote-tracking branch 'scroll/scroll' into feat/hashed…
Browse files Browse the repository at this point in the history
…-post-state-provider"

This reverts commit d841e22, reversing
changes made to 06f01c4.
  • Loading branch information
frisitano committed Dec 2, 2024
1 parent d841e22 commit 06ef897
Show file tree
Hide file tree
Showing 307 changed files with 1,697 additions and 6,758 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
name: bench
jobs:
iai:
runs-on: ubuntu-latest
runs-on:
group: Reth
# Only run benchmarks in merge groups and on main
if: github.event_name != 'pull_request'
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ name: book

on:
push:
branches: [main, scroll]
branches: [main]
pull_request:
branches: [main, scroll]
branches: [main]
merge_group:

jobs:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/compact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ on:
pull_request:
merge_group:
push:
branches: [scroll]
branches: [main]

env:
CARGO_TERM_COLOR: always

name: compact-codec
jobs:
compact-codec:
runs-on: ubuntu-latest
runs-on:
group: Reth
strategy:
matrix:
bin:
Expand All @@ -32,8 +33,8 @@ jobs:
- name: Checkout base
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref || 'scroll' }}
# On `scroll` branch, generates test vectors and serializes them to disk using `Compact`.
ref: ${{ github.base_ref || 'main' }}
# On `main` branch, generates test vectors and serializes them to disk using `Compact`.
- name: Generate compact vectors
run: |
${{ matrix.bin }} -- test-vectors compact --write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ name: deny

on:
push:
branches: [main, scroll]
branches: [main]
paths: [Cargo.lock]
pull_request:
branches: [main, scroll]
branches: [main]
paths: [Cargo.lock]
merge_group:

Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/hive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
prepare-reth:
if: github.repository == 'paradigmxyz/reth'
timeout-minutes: 45
runs-on: ubuntu-latest
runs-on:
group: Reth
steps:
- uses: actions/checkout@v4
- run: mkdir artifacts
Expand Down Expand Up @@ -52,7 +53,8 @@ jobs:
prepare-hive:
if: github.repository == 'paradigmxyz/reth'
timeout-minutes: 45
runs-on: ubuntu-latest
runs-on:
group: Reth
steps:
- uses: actions/checkout@v4
- name: Checkout hive tests
Expand Down Expand Up @@ -179,7 +181,8 @@ jobs:
- prepare-reth
- prepare-hive
name: run ${{ matrix.scenario.sim }}${{ matrix.scenario.limit && format(' - {0}', matrix.scenario.limit) }}
runs-on: ubuntu-latest
runs-on:
group: Reth
permissions:
issues: write
steps:
Expand Down Expand Up @@ -246,7 +249,8 @@ jobs:
notify-on-error:
needs: test
if: failure()
runs-on: ubuntu-latest
runs-on:
group: Reth
steps:
- name: Slack Webhook Action
uses: rtCamp/action-slack-notify@v2
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
merge_group:
push:
branches: [main, scroll]
branches: [main]

env:
CARGO_TERM_COLOR: always
Expand All @@ -19,16 +19,15 @@ concurrency:
jobs:
test:
name: test / ${{ matrix.network }}
runs-on: ubuntu-latest
runs-on:
group: Reth
env:
RUST_BACKTRACE: 1
strategy:
matrix:
network: ["ethereum", "optimism"]
timeout-minutes: 60
steps:
- name: Free up disk space
run: rm -rf /opt/hostedtoolcache
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install Geth
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
merge_group:
push:
branches: [main, scroll]
branches: [main]

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -152,13 +152,7 @@ jobs:
with:
cache-on-failure: true
- uses: taiki-e/install-action@cargo-udeps
# due to the scroll feature flag, we need to exclude some crates that were annotated with
# #![cfg(not(feature = "scroll))].
- run: |
cargo udeps --workspace --lib --examples --tests --benches --all-features --locked \
--exclude "reth-optimism-*" --exclude op-reth --exclude "example-*" --exclude reth \
--exclude reth-e2e-test-utils --exclude reth-ethereum-payload-builder --exclude reth-exex-test-utils \
--exclude reth-node-ethereum
- run: cargo udeps --workspace --lib --examples --tests --benches --all-features --locked

book:
name: book
Expand Down
33 changes: 0 additions & 33 deletions .github/workflows/pages.yaml

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
merge_group:
push:
branches: [ main, scroll ]
branches: [ main ]

env:
CARGO_TERM_COLOR: always
Expand All @@ -22,7 +22,8 @@ jobs:
name: stage-run-test
# Only run stage commands test in merge groups
if: github.event_name == 'merge_group'
runs-on: ubuntu-latest
runs-on:
group: Reth
env:
RUST_LOG: info,sync=error
RUST_BACKTRACE: 1
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ name: stale issues

on:
workflow_dispatch: {}
schedule:
- cron: "30 1 * * *"

jobs:
close-issues:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ concurrency:
jobs:
sync:
name: sync (${{ matrix.chain.bin }})
runs-on: ubuntu-latest
runs-on:
group: Reth
env:
RUST_LOG: info,sync=error
RUST_BACKTRACE: 1
Expand Down
22 changes: 10 additions & 12 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
merge_group:
push:
branches: [main, scroll]
branches: [main]

env:
CARGO_TERM_COLOR: always
Expand All @@ -19,7 +19,8 @@ concurrency:
jobs:
test:
name: test / ${{ matrix.type }} (${{ matrix.partition }}/${{ matrix.total_partitions }})
runs-on: ubuntu-latest
runs-on:
group: Reth
env:
RUST_BACKTRACE: 1
strategy:
Expand All @@ -34,11 +35,11 @@ jobs:
partition: 2
total_partitions: 2
- type: optimism
args: --features "asm-keccak optimism" --locked --exclude reth --exclude reth-bench --exclude "example-*" --exclude "reth-ethereum-*" --exclude "*-ethereum"
args: --features "asm-keccak optimism" --locked --exclude reth --exclude reth-bench --exclude "example-*"
partition: 1
total_partitions: 2
- type: optimism
args: --features "asm-keccak optimism" --locked --exclude reth --exclude reth-bench --exclude "example-*" --exclude "reth-ethereum-*" --exclude "*-ethereum"
args: --features "asm-keccak optimism" --locked --exclude reth --exclude reth-bench --exclude "example-*"
partition: 2
total_partitions: 2
- type: book
Expand All @@ -47,8 +48,6 @@ jobs:
total_partitions: 1
timeout-minutes: 30
steps:
- name: Free up disk space
run: rm -rf /opt/hostedtoolcache
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
Expand All @@ -62,21 +61,19 @@ jobs:
- name: Run tests
run: |
cargo nextest run \
${{ matrix.args }} --workspace \
--exclude ef-tests --no-tests=warn \
${{ matrix.args }} --workspace --exclude ef-tests \
--partition hash:${{ matrix.partition }}/2 \
-E "!kind(test)"
state:
name: Ethereum state tests
runs-on: ubuntu-latest
runs-on:
group: Reth
env:
RUST_LOG: info,sync=error
RUST_BACKTRACE: 1
timeout-minutes: 30
steps:
- name: Free up disk space
run: rm -rf /opt/hostedtoolcache
- uses: actions/checkout@v4
- name: Checkout ethereum/tests
uses: actions/checkout@v4
Expand All @@ -95,7 +92,8 @@ jobs:

doc:
name: doc tests (${{ matrix.network }})
runs-on: ubuntu-latest
runs-on:
group: Reth
env:
RUST_BACKTRACE: 1
timeout-minutes: 30
Expand Down
Loading

0 comments on commit 06ef897

Please sign in to comment.