Skip to content

Commit 9a3bbfa

Browse files
nekomoto911mattsseshekhirin
authored
feat: merge reth v1.6.0 (#144)
* squash merge reth v1.6.0 * chore: fix clippy docs (#17726) Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com> --------- Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
1 parent bf9010a commit 9a3bbfa

573 files changed

Lines changed: 24320 additions & 10198 deletions

File tree

Some content is hidden

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

.codespellrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.config/nextest.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ slow-timeout = { period = "30s", terminate-after = 4 }
55
[[profile.default.overrides]]
66
filter = "test(general_state_tests)"
77
slow-timeout = { period = "1m", terminate-after = 10 }
8+
9+
# E2E tests using the testsuite framework from crates/e2e-test-utils
10+
# These tests are located in tests/e2e-testsuite/ directories across various crates
11+
[[profile.default.overrides]]
12+
filter = "binary(e2e_testsuite)"
13+
slow-timeout = { period = "2m", terminate-after = 3 }

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ book/cli/**/*.md linguist-vendored
22
book/cli/cli.md -linguist-vendored
33

44
crates/storage/libmdbx-rs/mdbx-sys/libmdbx/** linguist-vendored
5+
6+
bun.lock linguist-language=JSON-with-Comments

.github/assets/check_wasm.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ exclude_crates=(
4848
reth-rpc-api
4949
reth-rpc-api-testing-util
5050
reth-rpc-builder
51+
reth-rpc-convert
52+
reth-rpc-e2e-tests
5153
reth-rpc-engine-api
5254
reth-rpc-eth-api
5355
reth-rpc-eth-types
@@ -58,7 +60,7 @@ exclude_crates=(
5860
reth-ress-provider
5961
# The following are not supposed to be working
6062
reth # all of the crates below
61-
reth-alloy-provider
63+
reth-storage-rpc-provider
6264
reth-invalid-block-hooks # reth-provider
6365
reth-libmdbx # mdbx
6466
reth-mdbx-sys # mdbx
@@ -76,6 +78,7 @@ exclude_crates=(
7678
reth-era-downloader # tokio
7779
reth-era-utils # tokio
7880
reth-tracing-otlp
81+
reth-node-ethstats
7982
)
8083

8184
# Array to hold the results

.github/assets/hive/expected_failures.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ rpc-compat:
66
- debug_getRawReceipts/get-block-n (reth)
77
- debug_getRawTransaction/get-invalid-hash (reth)
88

9-
- eth_call/call-callenv (reth)
109
- eth_getStorageAt/get-storage-invalid-key-too-large (reth)
1110
- eth_getStorageAt/get-storage-invalid-key (reth)
1211
- eth_getTransactionReceipt/get-access-list (reth)
@@ -102,9 +101,7 @@ eest/consume-rlp:
102101
- tests/prague/eip7002_el_triggerable_withdrawals/test_contract_deployment.py::test_system_contract_deployment[fork_CancunToPragueAtTime15k-blockchain_test_engine-deploy_after_fork-zero_balance]-reth
103102
- tests/prague/eip6110_deposits/test_modified_contract.py::test_invalid_log_length[fork_Prague-blockchain_test_engine-slice_bytes_False]-reth
104103
- tests/prague/eip6110_deposits/test_modified_contract.py::test_invalid_log_length[fork_Prague-blockchain_test_engine-slice_bytes_True]-reth
105-
- tests/prague/eip7251_consolidations/test_modified_consolidation_contract.py::test_system_contract_errors[fork_Prague-blockchain_test-system_contract_reaches_gas_limit-system_contract_0x0000bbddc7ce488642fb579f8b00f3a590007251]-reth
106104
- tests/prague/eip7251_consolidations/test_contract_deployment.py::test_system_contract_deployment[fork_CancunToPragueAtTime15k-blockchain_test-deploy_after_fork-nonzero_balance]-reth
107105
- tests/prague/eip7251_consolidations/test_contract_deployment.py::test_system_contract_deployment[fork_CancunToPragueAtTime15k-blockchain_test-deploy_after_fork-zero_balance]-reth
108-
- tests/prague/eip7002_el_triggerable_withdrawals/test_modified_withdrawal_contract.py::test_system_contract_errors[fork_Prague-blockchain_test-system_contract_reaches_gas_limit-system_contract_0x00000961ef480eb55e80d19ad83579a64c007002]-reth
109106
- tests/prague/eip7002_el_triggerable_withdrawals/test_contract_deployment.py::test_system_contract_deployment[fork_CancunToPragueAtTime15k-blockchain_test-deploy_after_fork-nonzero_balance]-reth
110107
- tests/prague/eip7002_el_triggerable_withdrawals/test_contract_deployment.py::test_system_contract_deployment[fork_CancunToPragueAtTime15k-blockchain_test-deploy_after_fork-zero_balance]-reth

.github/workflows/book.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,19 @@ jobs:
2525
- name: Install Playwright browsers
2626
# Required for rehype-mermaid to render Mermaid diagrams during build
2727
run: |
28-
cd book/vocs/
28+
cd docs/vocs/
2929
bun i
3030
npx playwright install --with-deps chromium
3131
32+
- name: Install Rust nightly
33+
uses: dtolnay/rust-toolchain@nightly
34+
35+
- name: Build docs
36+
run: cd docs/vocs && bash scripts/build-cargo-docs.sh
37+
3238
- name: Build Vocs
3339
run: |
34-
cd book/vocs/ && bun run build
40+
cd docs/vocs/ && bun run build
3541
echo "Vocs Build Complete"
3642
3743
- name: Setup Pages
@@ -40,7 +46,7 @@ jobs:
4046
- name: Upload artifact
4147
uses: actions/upload-pages-artifact@v3
4248
with:
43-
path: "./book/vocs/docs/dist"
49+
path: "./docs/vocs/docs/dist"
4450

4551
deploy:
4652
# Only deploy if a push to main

.github/workflows/e2e.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Runs e2e tests using the testsuite framework
2+
3+
name: e2e
4+
5+
on:
6+
pull_request:
7+
merge_group:
8+
push:
9+
branches: [main]
10+
11+
env:
12+
CARGO_TERM_COLOR: always
13+
SEED: rustethereumethereumrust
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17+
cancel-in-progress: true
18+
19+
jobs:
20+
test:
21+
name: e2e-testsuite
22+
runs-on:
23+
group: Reth
24+
env:
25+
RUST_BACKTRACE: 1
26+
timeout-minutes: 90
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: dtolnay/rust-toolchain@stable
30+
- uses: taiki-e/install-action@nextest
31+
- uses: Swatinem/rust-cache@v2
32+
with:
33+
cache-on-failure: true
34+
- name: Run e2e tests
35+
run: |
36+
cargo nextest run \
37+
--locked --features "asm-keccak" \
38+
--workspace \
39+
--exclude 'example-*' \
40+
--exclude 'exex-subscription' \
41+
--exclude 'reth-bench' \
42+
--exclude 'ef-tests' \
43+
--exclude 'op-reth' \
44+
--exclude 'reth' \
45+
-E 'binary(e2e_testsuite)'
46+

.github/workflows/hive.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ jobs:
3232
uses: actions/checkout@v4
3333
with:
3434
repository: ethereum/hive
35-
# TODO: unpin when https://github.com/ethereum/hive/issues/1306 is fixed
36-
ref: edd9969338dd1798ba2e61f049c7e3a15cef53e6
3735
path: hivetests
3836

3937
- uses: actions/setup-go@v5

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
cargo nextest run \
4949
--locked --features "asm-keccak ${{ matrix.network }}" \
5050
--workspace --exclude ef-tests \
51-
-E "kind(test)"
51+
-E "kind(test) and not binary(e2e_testsuite)"
5252
- if: matrix.network == 'optimism'
5353
name: Run tests
5454
run: |

.github/workflows/lint.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -191,18 +191,16 @@ jobs:
191191
- run: cargo build --bin reth --workspace --features ethereum
192192
env:
193193
RUSTFLAGS: -D warnings
194-
- run: ./book/cli/update.sh target/debug/reth
195-
- name: Check book changes
194+
- run: ./docs/cli/update.sh target/debug/reth
195+
- name: Check docs changes
196196
run: git diff --exit-code
197197

198-
codespell:
198+
typos:
199199
runs-on: ubuntu-latest
200200
timeout-minutes: 30
201201
steps:
202202
- uses: actions/checkout@v4
203-
- uses: codespell-project/actions-codespell@v2
204-
with:
205-
skip: "*.json"
203+
- uses: crate-ci/typos@v1
206204

207205
check-toml:
208206
runs-on: ubuntu-latest
@@ -285,7 +283,7 @@ jobs:
285283
- fmt
286284
- udeps
287285
- book
288-
- codespell
286+
- typos
289287
- grafana
290288
- no-test-deps
291289
- features

0 commit comments

Comments
 (0)