Skip to content

Commit 037fe9f

Browse files
authored
Merge branch 'paradigmxyz:main' into main
2 parents efc4565 + 63a75fd commit 037fe9f

File tree

248 files changed

+7838
-3103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+7838
-3103
lines changed

.github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ crates/tasks/ @mattsse
4343
crates/tokio-util/ @fgimenez @emhane
4444
crates/tracing/ @onbjerg
4545
crates/transaction-pool/ @mattsse
46-
crates/trie/ @rkrasiuk @Rjected
46+
crates/trie/ @rkrasiuk @Rjected @shekhirin
4747
etc/ @Rjected @onbjerg @shekhirin
4848
.github/ @onbjerg @gakonst @DaniPopes

.github/assets/check_wasm.sh

-5
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@ exclude_crates=(
3030
reth-engine-util
3131
reth-eth-wire
3232
reth-ethereum-cli
33-
reth-ethereum-engine
3433
reth-ethereum-engine-primitives
3534
reth-ethereum-payload-builder
3635
reth-etl
3736
reth-evm-ethereum
38-
reth-execution-errors
3937
reth-exex
4038
reth-exex-test-utils
4139
reth-ipc
@@ -49,7 +47,6 @@ exclude_crates=(
4947
reth-node-events
5048
reth-node-metrics
5149
reth-optimism-cli
52-
reth-optimism-evm
5350
reth-optimism-node
5451
reth-optimism-payload-builder
5552
reth-optimism-rpc
@@ -63,9 +60,7 @@ exclude_crates=(
6360
reth-rpc-eth-api
6461
reth-rpc-eth-types
6562
reth-rpc-layer
66-
reth-rpc-types
6763
reth-stages
68-
reth-storage-errors
6964
reth-engine-local
7065
# The following are not supposed to be working
7166
reth # all of the crates below

.github/assets/hive/expected_failures.yaml

+6-19
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ rpc-compat:
2020
- eth_getBlockByNumber/get-latest (reth)
2121
- eth_getBlockByNumber/get-safe (reth)
2222

23-
# https://github.com/paradigmxyz/reth/issues/8732
23+
# https://github.com/paradigmxyz/reth/issues/8732
2424
engine-withdrawals:
2525
- Withdrawals Fork On Genesis (Paris) (reth)
2626
- Withdrawals Fork on Block 1 (Paris) (reth)
@@ -43,33 +43,20 @@ engine-withdrawals:
4343

4444
# https://github.com/paradigmxyz/reth/issues/8305
4545
# https://github.com/paradigmxyz/reth/issues/6217
46-
engine-api:
47-
- Inconsistent Head in ForkchoiceState (Paris) (reth)
48-
- Invalid NewPayload, StateRoot, Syncing=True, EmptyTxs=True, DynFeeTxs=False (Paris) (reth)
49-
- Invalid NewPayload, StateRoot, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Paris) (reth)
50-
- Invalid NewPayload, PrevRandao, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Paris) (reth)
51-
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=True, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
52-
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
53-
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=True, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
54-
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
46+
engine-api: []
5547

5648
# https://github.com/paradigmxyz/reth/issues/8305
5749
# https://github.com/paradigmxyz/reth/issues/6217
5850
# https://github.com/paradigmxyz/reth/issues/8306
5951
# https://github.com/paradigmxyz/reth/issues/7144
6052
engine-cancun:
6153
- Blob Transaction Ordering, Multiple Clients (Cancun) (reth)
62-
- Inconsistent Head in ForkchoiceState (Cancun) (reth)
63-
- Invalid NewPayload, StateRoot, Syncing=True, EmptyTxs=True, DynFeeTxs=False (Cancun) (reth)
64-
- Invalid NewPayload, StateRoot, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
65-
- Invalid NewPayload, PrevRandao, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
66-
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=True, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
67-
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
68-
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=True, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
69-
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
7054
- Invalid PayloadAttributes, Missing BeaconRoot, Syncing=True (Cancun) (reth)
71-
- Invalid NewPayload, ParentBeaconBlockRoot, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
7255
- Invalid NewPayload, ExcessBlobGas, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
56+
- Invalid NewPayload, VersionedHashes, Syncing=False, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
57+
- Invalid NewPayload, VersionedHashes Version, Syncing=False, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
58+
- Invalid NewPayload, Incomplete VersionedHashes, Syncing=False, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
59+
- Invalid NewPayload, Extra VersionedHashes, Syncing=False, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
7360

7461
# https://github.com/paradigmxyz/reth/issues/8579
7562
sync:

.github/assets/hive/expected_failures_experimental.yaml

-63
This file was deleted.

.github/workflows/docker-git.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Publishes the Docker image, only to be used with `workflow_dispatch`. The
2+
# images from this workflow will be tagged with the git sha of the branch used
3+
# and will NOT tag it as `latest`.
4+
5+
name: docker-git
6+
7+
on:
8+
workflow_dispatch: {}
9+
10+
env:
11+
REPO_NAME: ${{ github.repository_owner }}/reth
12+
IMAGE_NAME: ${{ github.repository_owner }}/reth
13+
OP_IMAGE_NAME: ${{ github.repository_owner }}/op-reth
14+
CARGO_TERM_COLOR: always
15+
DOCKER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/reth
16+
OP_DOCKER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/op-reth
17+
DOCKER_USERNAME: ${{ github.actor }}
18+
GIT_SHA: ${{ github.sha }}
19+
20+
jobs:
21+
build:
22+
name: build and push
23+
runs-on: ubuntu-20.04
24+
permissions:
25+
packages: write
26+
contents: read
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: dtolnay/rust-toolchain@stable
30+
- uses: Swatinem/rust-cache@v2
31+
with:
32+
cache-on-failure: true
33+
- uses: taiki-e/install-action@cross
34+
- name: Log in to Docker
35+
run: |
36+
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username ${DOCKER_USERNAME} --password-stdin
37+
- name: Set up Docker builder
38+
run: |
39+
docker run --privileged --rm tonistiigi/binfmt --install arm64,amd64
40+
docker buildx create --use --name cross-builder
41+
- name: Build and push the git-sha-tagged reth image
42+
run: make PROFILE=maxperf GIT_SHA=$GIT_SHA docker-build-push-git-sha
43+
- name: Build and push the git-sha-tagged op-reth image
44+
run: make IMAGE_NAME=$OP_IMAGE_NAME DOCKER_IMAGE_NAME=$OP_DOCKER_IMAGE_NAME GIT_SHA=$GIT_SHA PROFILE=maxperf op-docker-build-push-git-sha

.github/workflows/docker.yml

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
name: docker
44

55
on:
6-
workflow_dispatch: {}
76
push:
87
tags:
98
- v*

.github/workflows/hive.yml

+2-9
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ jobs:
8282
strategy:
8383
fail-fast: false
8484
matrix:
85-
engine: [regular, experimental]
8685
# ethereum/rpc to be deprecated:
8786
# https://github.com/ethereum/hive/pull/1117
8887
scenario:
@@ -181,7 +180,7 @@ jobs:
181180
needs:
182181
- prepare-reth
183182
- prepare-hive
184-
name: run ${{ matrix.engine }} - ${{ matrix.scenario.sim }}${{ matrix.scenario.limit && format(' - {0}', matrix.scenario.limit) }}
183+
name: run ${{ matrix.scenario.sim }}${{ matrix.scenario.limit && format(' - {0}', matrix.scenario.limit) }}
185184
runs-on:
186185
group: Reth
187186
permissions:
@@ -218,11 +217,6 @@ jobs:
218217
ref: master
219218
path: hivetests
220219

221-
- name: Modify client for experimental engine
222-
if: matrix.engine == 'experimental'
223-
run: |
224-
sed -ie 's/RUST_LOG=info $reth node $FLAGS/RUST_LOG=info $reth node --engine.experimental $FLAGS/' hivetests/clients/reth/reth.sh
225-
226220
- name: Run simulator
227221
run: |
228222
LIMIT="${{ matrix.scenario.limit }}"
@@ -241,8 +235,7 @@ jobs:
241235
242236
- name: Parse hive output
243237
run: |
244-
FAILURE_FILE="${{ matrix.engine == 'experimental' && '.github/assets/hive/expected_failures_experimental.yaml' || '.github/assets/hive/expected_failures.yaml' }}"
245-
find hivetests/workspace/logs -type f -name "*.json" ! -name "hive.json" | xargs -I {} python .github/assets/hive/parse.py {} --exclusion $FAILURE_FILE
238+
find hivetests/workspace/logs -type f -name "*.json" ! -name "hive.json" | xargs -I {} python .github/assets/hive/parse.py {} --exclusion .github/assets/hive/expected_failures.yaml
246239
247240
- name: Print simulator output
248241
if: ${{ failure() }}

.github/workflows/lint.yml

-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
- uses: actions/checkout@v4
3131
- uses: dtolnay/rust-toolchain@clippy
3232
with:
33-
toolchain: nightly-2024-09-25
3433
components: clippy
3534
- uses: Swatinem/rust-cache@v2
3635
with:
@@ -52,7 +51,6 @@ jobs:
5251
- uses: actions/checkout@v4
5352
- uses: dtolnay/rust-toolchain@nightly
5453
with:
55-
toolchain: nightly-2024-09-25
5654
components: clippy
5755
- uses: Swatinem/rust-cache@v2
5856
with:

0 commit comments

Comments
 (0)