Skip to content

Commit ce49d63

Browse files
authored
Merge pull request #121 from weaveVM/dev
merge: dev to main
2 parents 35c93da + 60d48ca commit ce49d63

File tree

716 files changed

+25381
-12519
lines changed

Some content is hidden

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

716 files changed

+25381
-12519
lines changed

.config/zepter.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
version:
2+
format: 1
3+
# Minimum zepter version that is expected to work. This is just for printing a nice error
4+
# message when someone tries to use an older version.
5+
binary: 0.13.2
6+
7+
# The examples in the following comments assume crate `A` to have a dependency on crate `B`.
8+
workflows:
9+
check:
10+
- [
11+
"lint",
12+
# Check that `A` activates the features of `B`.
13+
"propagate-feature",
14+
# These are the features to check:
15+
"--features=std,optimism,dev,asm-keccak,jemalloc,jemalloc-prof,tracy-allocator,serde-bincode-compat,serde,test-utils,arbitrary,bench",
16+
# Do not try to add a new section into `[features]` of `A` only because `B` expose that feature. There are edge-cases where this is still needed, but we can add them manually.
17+
"--left-side-feature-missing=ignore",
18+
# Ignore the case that `A` it outside of the workspace. Otherwise it will report errors in external dependencies that we have no influence on.
19+
"--left-side-outside-workspace=ignore",
20+
# Auxillary flags:
21+
"--offline",
22+
"--locked",
23+
"--show-path",
24+
"--quiet",
25+
]
26+
default:
27+
# Running `zepter` with no subcommand will check & fix.
28+
- [$check.0, "--fix"]
29+
30+
# Will be displayed when any workflow fails:
31+
help:
32+
text: |
33+
Reth uses the Zepter CLI to detect abnormalities in Cargo features, e.g. missing propagation.
34+
35+
It looks like one more more checks failed; please check the console output.
36+
37+
You can try to automatically address them by installing zepter (`cargo install zepter --locked`) and simply running `zepter` in the workspace root.
38+
links:
39+
- "https://github.com/paradigmxyz/reth/pull/11888"
40+
- "https://github.com/ggwpez/zepter"

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ set +e # Disable immediate exit on error
33

44
# Array of crates to compile
55
crates=($(cargo metadata --format-version=1 --no-deps | jq -r '.packages[].name' | grep '^reth' | sort))
6+
67
# Array of crates to exclude
8+
# Used with the `contains` function.
9+
# shellcheck disable=SC2034
710
exclude_crates=(
811
# The following are not working yet, but known to be fixable
912
reth-exex-types # https://github.com/paradigmxyz/reth/issues/9946
@@ -30,12 +33,9 @@ exclude_crates=(
3033
reth-engine-util
3134
reth-eth-wire
3235
reth-ethereum-cli
33-
reth-ethereum-engine
3436
reth-ethereum-engine-primitives
3537
reth-ethereum-payload-builder
3638
reth-etl
37-
reth-evm-ethereum
38-
reth-execution-errors
3939
reth-exex
4040
reth-exex-test-utils
4141
reth-ipc
@@ -49,7 +49,6 @@ exclude_crates=(
4949
reth-node-events
5050
reth-node-metrics
5151
reth-optimism-cli
52-
reth-optimism-evm
5352
reth-optimism-node
5453
reth-optimism-payload-builder
5554
reth-optimism-rpc
@@ -63,9 +62,7 @@ exclude_crates=(
6362
reth-rpc-eth-api
6463
reth-rpc-eth-types
6564
reth-rpc-layer
66-
reth-rpc-types
6765
reth-stages
68-
reth-storage-errors
6966
reth-engine-local
7067
# The following are not supposed to be working
7168
reth # all of the crates below

.github/assets/hive/expected_failures.yaml

Lines changed: 7 additions & 24 deletions
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)
@@ -41,36 +41,19 @@ engine-withdrawals:
4141
- Withdrawals Fork on Canonical Block 8 / Side Block 9 - 10 Block Re-Org (Paris) (reth)
4242
- Withdrawals Fork on Canonical Block 8 / Side Block 9 - 10 Block Re-Org Sync (Paris) (reth)
4343

44-
# https://github.com/paradigmxyz/reth/issues/8305
45-
# 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)
44+
engine-api: []
5545

5646
# https://github.com/paradigmxyz/reth/issues/8305
5747
# https://github.com/paradigmxyz/reth/issues/6217
5848
# https://github.com/paradigmxyz/reth/issues/8306
5949
# https://github.com/paradigmxyz/reth/issues/7144
6050
engine-cancun:
6151
- 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)
7052
- Invalid PayloadAttributes, Missing BeaconRoot, Syncing=True (Cancun) (reth)
71-
- Invalid NewPayload, ParentBeaconBlockRoot, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
7253
- Invalid NewPayload, ExcessBlobGas, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
54+
- Invalid NewPayload, VersionedHashes, Syncing=False, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
55+
- Invalid NewPayload, VersionedHashes Version, Syncing=False, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
56+
- Invalid NewPayload, Incomplete VersionedHashes, Syncing=False, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
57+
- Invalid NewPayload, Extra VersionedHashes, Syncing=False, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
7358

74-
# https://github.com/paradigmxyz/reth/issues/8579
75-
sync:
76-
- sync reth -> reth
59+
sync: []

.github/assets/hive/expected_failures_experimental.yaml

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

0 commit comments

Comments
 (0)