Skip to content
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
self-hosted-runner:
labels:
- ubuntu-24.04-16core
32 changes: 31 additions & 1 deletion .github/assets/check_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,38 @@ exclude_crates=(
reth-engine-local
reth-ress-protocol
reth-ress-provider
# The following are not supposed to be working
# The following are not supposed to be working (jemalloc/tokio dependencies)
reth # all of the crates below
reth-chain-state # jemalloc, tokio
reth-config # jemalloc
reth-consensus # jemalloc
reth-consensus-common # jemalloc, tokio
reth-db # jemalloc
reth-db-api # jemalloc
reth-engine-primitives # jemalloc, tokio
reth-errors # jemalloc
reth-ethereum-consensus # jemalloc, tokio
reth-ethereum-engine-primitives # jemalloc, tokio
reth-evm # jemalloc
reth-evm-ethereum # jemalloc
reth-execution-types # jemalloc, tokio
reth-exex-types # jemalloc, tokio
reth-network-api # jemalloc, tokio
reth-network-p2p # jemalloc, tokio
reth-node-types # jemalloc
reth-optimism-consensus # jemalloc, tokio
reth-optimism-evm # jemalloc
reth-payload-builder-primitives # jemalloc, tokio
reth-payload-primitives # jemalloc, tokio
reth-revm # jemalloc
reth-rpc-server-types # jemalloc, tokio
reth-stages-types # jemalloc
reth-stateless # jemalloc
reth-storage-api # jemalloc, tokio
reth-trie # jemalloc
reth-trie-common # jemalloc
reth-trie-db # jemalloc
reth-trie-sparse # jemalloc
reth-storage-rpc-provider
reth-invalid-block-hooks # reth-provider
reth-libmdbx # mdbx
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ env:
name: bench
jobs:
codspeed:
runs-on:
group: Reth
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
Expand All @@ -36,5 +35,6 @@ jobs:
- name: Run the benchmarks
uses: CodSpeedHQ/action@v4
with:
mode: simulation
run: cargo codspeed run --workspace
token: ${{ secrets.CODSPEED_TOKEN }}
14 changes: 7 additions & 7 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
name: book

on:
workflow_dispatch: # disable action temporarily
# push:
# branches: [main]
# pull_request:
# branches: [main]
# types: [opened, reopened, synchronize, closed]
# merge_group:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, reopened, synchronize, closed]
merge_group:

jobs:
build:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/compact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,19 @@
# 4) deserialize previously generated test vectors

on:
workflow_dispatch: # disable action temporarily
# pull_request:
# merge_group:
# push:
# branches: [main]
workflow_dispatch:
pull_request:
merge_group:
push:
branches: [main]

env:
CARGO_TERM_COLOR: always

name: compact-codec
jobs:
compact-codec:
runs-on:
group: Reth
runs-on: ubuntu-latest
strategy:
matrix:
bin:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docker-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: docker-nightly

on:
workflow_dispatch:
# schedule:
# - cron: "0 1 * * *"
schedule:
- cron: "0 1 * * *"
env:
REPO_NAME: ${{ github.repository_owner }}/reth
IMAGE_NAME: ${{ github.repository_owner }}/reth
Expand All @@ -30,10 +30,10 @@ jobs:
command: 'make PROFILE=maxperf docker-build-push-nightly'
- name: 'Build and push the nightly profiling reth image'
command: 'make PROFILE=profiling docker-build-push-nightly-profiling'
- name: 'Build and push the nightly op-reth image'
command: 'make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=maxperf op-docker-build-push-nightly'
- name: 'Build and push the nightly profiling op-reth image'
command: 'make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=profiling op-docker-build-push-nightly-profiling'
# - name: 'Build and push the nightly op-reth image'
# command: 'make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=maxperf op-docker-build-push-nightly'
# - name: 'Build and push the nightly profiling op-reth image'
# command: 'make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME PROFILE=profiling op-docker-build-push-nightly-profiling'
steps:
- uses: actions/checkout@v5
- name: Remove bloatware
Expand Down
25 changes: 18 additions & 7 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
name: e2e

on:
workflow_dispatch: # disable action temporarily
# pull_request:
# merge_group:
# push:
# branches: [main]
workflow_dispatch:
pull_request:
merge_group:
push:
branches: [main]

env:
CARGO_TERM_COLOR: always
Expand All @@ -20,15 +20,26 @@ concurrency:
jobs:
test:
name: e2e-testsuite
runs-on:
group: Reth
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
timeout-minutes: 90
steps:
- name: Free disk space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@nextest
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y liburing-dev pkg-config libclang-dev
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/hive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ name: hive

on:
workflow_dispatch:
# schedule:
# - cron: "0 */6 * * *"
schedule:
- cron: "0 */6 * * *"

env:
CARGO_TERM_COLOR: always
Expand All @@ -24,8 +24,7 @@ jobs:
prepare-hive:
if: github.repository == 'paradigmxyz/reth'
timeout-minutes: 45
runs-on:
group: Reth
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Checkout hive tests
Expand Down Expand Up @@ -146,8 +145,7 @@ jobs:
- prepare-reth
- prepare-hive
name: run ${{ matrix.scenario.sim }}${{ matrix.scenario.limit && format(' - {0}', matrix.scenario.limit) }}
runs-on:
group: Reth
runs-on: ubuntu-latest
permissions:
issues: write
steps:
Expand Down Expand Up @@ -214,8 +212,7 @@ jobs:
notify-on-error:
needs: test
if: failure()
runs-on:
group: Reth
runs-on: ubuntu-latest
steps:
- name: Slack Webhook Action
uses: rtCamp/action-slack-notify@v2
Expand Down
31 changes: 21 additions & 10 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
name: integration

on:
workflow_dispatch: # disable action temporarily
# pull_request:
# merge_group:
# push:
# branches: [main]
# schedule:
# # Run once a day at 3:00 UTC
# - cron: "0 3 * * *"
workflow_dispatch:
pull_request:
merge_group:
push:
branches: [main]
schedule:
# Run once a day at 3:00 UTC
- cron: "0 3 * * *"

env:
CARGO_TERM_COLOR: always
Expand All @@ -24,16 +24,27 @@ jobs:
test:
name: test / ${{ matrix.network }}
if: github.event_name != 'schedule'
runs-on:
group: Reth
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
strategy:
matrix:
network: ["ethereum", "optimism"]
timeout-minutes: 60
steps:
- name: Free disk space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- uses: actions/checkout@v5
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y liburing-dev pkg-config libclang-dev
- uses: rui314/setup-mold@v1
- uses: dtolnay/rust-toolchain@stable
- name: Install Geth
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/kurtosis-op.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ name: kurtosis-op

on:
workflow_dispatch:
# schedule:
# - cron: "0 */6 * * *"
schedule:
- cron: "0 */6 * * *"

# push:
# tags:
# - '*'
push:
tags:
- '*'

env:
CARGO_TERM_COLOR: always
Expand All @@ -32,8 +32,7 @@ jobs:
strategy:
fail-fast: false
name: run kurtosis
runs-on:
group: Reth
runs-on: ubuntu-latest
needs:
- prepare-reth
steps:
Expand Down Expand Up @@ -89,8 +88,7 @@ jobs:
notify-on-error:
needs: test
if: failure()
runs-on:
group: Reth
runs-on: ubuntu-latest
steps:
- name: Slack Webhook Action
uses: rtCamp/action-slack-notify@v2
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/kurtosis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ name: kurtosis

on:
workflow_dispatch:
# schedule:
# - cron: "0 */6 * * *"
schedule:
- cron: "0 */6 * * *"

# push:
# tags:
# - '*'
push:
tags:
- '*'

env:
CARGO_TERM_COLOR: always
Expand All @@ -30,8 +30,8 @@ jobs:
strategy:
fail-fast: false
name: run kurtosis
runs-on:
group: Reth
runs-on: ubuntu-latest

needs:
- prepare-reth
steps:
Expand Down Expand Up @@ -59,8 +59,7 @@ jobs:
notify-on-error:
needs: test
if: failure()
runs-on:
group: Reth
runs-on: ubuntu-latest
steps:
- name: Slack Webhook Action
uses: rtCamp/action-slack-notify@v2
Expand Down
Loading
Loading