Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge upstream 4960b927b #9

Merged
merged 150 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
2224e6c
feat(exex): finalize ExEx WAL on new finalized block header (#11174)
shekhirin Sep 25, 2024
2022dd3
primitives: rm `alloy_consensus::transaction` reexports (#11191)
tcoratger Sep 25, 2024
1e0a35e
perf(engine): migrate to AsyncStateRoot (#10927)
fgimenez Sep 25, 2024
3d03451
feat(exex): `ExExNotification::into_inverted` (#11205)
shekhirin Sep 25, 2024
c00516c
rpc-types: rm `alloy-rpc-types-engine` reexport (#11206)
tcoratger Sep 25, 2024
d891d40
feat(storage): add `HeaderExt` to compact `Header` (#11166)
joshieDo Sep 25, 2024
63f5673
refactor(exex): move notifications to a separate module (#11212)
shekhirin Sep 25, 2024
1d56382
doc: update some exexhead docs (#11214)
prestwich Sep 25, 2024
4070498
fix(storage): only delete static file if `last_block` is on a previo…
joshieDo Sep 25, 2024
4ef9635
chore: update helper fn (#11209)
mattsse Sep 25, 2024
76a6e0d
remove IntoRecoveredTransaction (#11221)
nkysg Sep 25, 2024
653c089
chore(tree): add legacy tree metrics to new engine (#11175)
Rjected Sep 25, 2024
3503406
chore(tree): make tree trace targets all engine::tree (#11227)
Rjected Sep 25, 2024
ece0944
reth-codec: remove unused derives from alloy compat types (#11231)
nkysg Sep 26, 2024
20d6950
chore(evm): replace reth-primitives with alloy (#11232)
Abhishekkochar Sep 26, 2024
4a05826
ci: pin clippy to working version (#11237)
fgimenez Sep 26, 2024
353fd60
refactor: extract optimism receipts hashing logic to `reth-optimism-c…
klkvr Sep 26, 2024
42d2e48
chore(trie): replace ParallelStateRoot with AsyncStateRoot (#11213)
fgimenez Sep 26, 2024
edd8fe4
primitives: rm `H*` deprecated types (#11246)
tcoratger Sep 26, 2024
f2a508d
primitives: rm more `alloy_primitives` reexports (#11222)
tcoratger Sep 26, 2024
65f2664
feat: make `NetworkConfigBuilder` independent of concrete `ChainSpec`…
klkvr Sep 26, 2024
3a255a1
chore:include payload id in trace (#11249)
mattsse Sep 26, 2024
6a7d893
chore: update revm and alloy primitives (#11235)
mattsse Sep 26, 2024
d46f762
fix(cli): fix `ImportReceiptsOp` (#11216)
joshieDo Sep 26, 2024
6d0159e
feat: tx and receipt compression utils for no-std config (#11112)
nadtech-hub Sep 26, 2024
2e05ec0
move op storage tests into new crate reth-optimism-storage (#11233)
nkysg Sep 26, 2024
ad64de8
primitives: rm more `alloy_primitives` reexports (#11250)
tcoratger Sep 26, 2024
f4cbfbc
feat(tree): introduce reorg count metrics in new engine (#11226)
Rjected Sep 26, 2024
77992e3
deps: `[email protected]` (#11260)
rkrasiuk Sep 26, 2024
13a3c2c
chore(exex): remove unneeded code (#11267)
shekhirin Sep 26, 2024
da6b1e7
feat(exex): write notification files atomically (#11264)
joshieDo Sep 26, 2024
37b0c56
feat(exex): add parent hash to WAL block cache, index by hashes (#11263)
shekhirin Sep 27, 2024
6722124
feat(exex): WAL handle (#11266)
shekhirin Sep 27, 2024
5706e03
chore(trie): early return on empty state (#11271)
rkrasiuk Sep 27, 2024
136a822
feat: canonical state for local engine (#11245)
greged93 Sep 27, 2024
650cf75
docs: clarify block order (#11279)
mattsse Sep 27, 2024
ba4e411
chore: use Arc over Box (#11281)
mattsse Sep 27, 2024
6757ab8
fix: make canonical_chain atomic and canonical (#11283)
mattsse Sep 27, 2024
247f029
chore: add traces for blob sidecar ops (#11284)
mattsse Sep 27, 2024
098018d
perf: remove sidecar clone if no listeners (#11285)
mattsse Sep 27, 2024
ea060fe
feat: `ExExEvent::FinishedHeight` takes `BlockNumHash` instead (#11278)
joshieDo Sep 27, 2024
fbb0b11
chore(exex-eips): replace reth-primitives with alloy-eips (#11275)
Abhishekkochar Sep 27, 2024
0446ec4
optimism: fix 'expecte' (#11290)
LandLord529 Sep 27, 2024
07e94e7
perf(db): use smallvec for mdbx table names (#11291)
DaniPopes Sep 27, 2024
dbd9a2b
feat(exex): send canonical notifications when head is provided (#11280)
shekhirin Sep 27, 2024
8dfab33
feat(trie): extract `StorageProof` (#11269)
rkrasiuk Sep 27, 2024
bf18fd9
perf: improve IntegerList API to avoid allocations (#11292)
DaniPopes Sep 27, 2024
e962983
perf(db): use encode_to in Scale implementations (#11297)
DaniPopes Sep 27, 2024
5b585eb
chore(`rpc`): use alloy's `Keccak256` hasher instead of manually conc…
Evalir Sep 27, 2024
49f044f
fix(reth-ipc): pass through extensions from request (#11300)
benluelo Sep 27, 2024
9863a17
chore(exex):move maximum ExExManager capacity to a constant (#11293)
nkysg Sep 27, 2024
6c92f8a
chore: rename param (#11287)
mattsse Sep 27, 2024
d8f16b8
perf(trie): use unstable sort when sorting for computing roots (#11301)
DaniPopes Sep 27, 2024
1bbf8b6
test(rpc): filter test is taking too long (#11288)
shekhirin Sep 27, 2024
1009289
chore(deps): bump tracy (#11305)
DaniPopes Sep 27, 2024
e48f2a2
perf(db): cache `ProcessUID::own` in memory (#11302)
DaniPopes Sep 27, 2024
50265b1
chore: remove generics from Decode and Decompress (#11295)
DaniPopes Sep 27, 2024
5046128
chore(blockchain-tree): replace reth-primitives with alloy-eips (#11276)
Abhishekkochar Sep 28, 2024
375acdf
chore(op): unify crate name reth-optimism-* (#11223)
nkysg Sep 28, 2024
b090578
fix: improve ecies error fatal variants (#11303)
caglaryucekaya Sep 28, 2024
2aa3dd0
feat: use `OpChainSpec` in `OptimismNode` and its components (#11304)
klkvr Sep 28, 2024
4850c29
feat: mev_simBundle (#11252)
SkandaBhat Sep 28, 2024
1bead52
chore: relax trait bounds on transact fns (#11310)
mattsse Sep 28, 2024
6828bba
chore: use core::error (#11313)
mattsse Sep 28, 2024
65f7e88
chore: rm ToRpcError usage from engine crate (#11311)
mattsse Sep 28, 2024
3297dcb
Remove unused dependencies (#11320)
c410-f3r Sep 29, 2024
d94462b
chore(deps): weekly `cargo update` (#11319)
github-actions[bot] Sep 29, 2024
ce1f669
feat(exex): finalize WAL only when all ExExes are on the canonical ch…
shekhirin Sep 29, 2024
b8aeeca
chore: update default payload builder logs (#11315)
Rjected Sep 29, 2024
55bf29e
use `core::error::Error` (#11317)
tcoratger Sep 29, 2024
ea1d04a
primitives: rm more `alloy_primitives` reexports (#11255)
tcoratger Sep 29, 2024
e21d75f
primitives: rm more `alloy_primitives` reexports (#11325)
tcoratger Sep 30, 2024
e02a2de
feat(exex): finalize WAL with the lowest finished height (#11323)
shekhirin Sep 30, 2024
17aa3d6
fix(trie): witness empty root node (#10972)
rkrasiuk Sep 30, 2024
2ae8ea3
feat: add SystemCaller helper type (#11068)
mattsse Sep 30, 2024
ae4aeb4
chore(builder): reorder revm `State` import (#11316)
Rjected Sep 30, 2024
bf679b4
feat(exex): finalize WAL below the given block (#11324)
shekhirin Sep 30, 2024
e8153e5
deps: remove `reth-metrics-derive` for `metrics-derive` (#11335)
rkrasiuk Sep 30, 2024
a5538bc
chore: alloy 0.4 (#11334)
mattsse Sep 30, 2024
92aeff0
fix(libmdbx): Some options can only be set after `mdbx_env_open` (#11…
wtdcode Sep 30, 2024
24b6341
fix: sequencer client must be arced (#11337)
mattsse Sep 30, 2024
42afcbd
impl `Encodable2718`, `Decodable2718` for `TransactionSigned` (#11218)
klkvr Sep 30, 2024
09f0526
fix(providers): collect BlockState before constructing DB provider (#…
Rjected Sep 30, 2024
6d57b9e
feat: wire SystemCaller (#11321)
fgimenez Sep 30, 2024
6e1cc1b
fix(provider): replace `block_state_by_tx_id` with `get_in_memory_or_…
joshieDo Sep 30, 2024
d6113e1
feat(exex, primitives): serde bincode compatibility (#11331)
shekhirin Sep 30, 2024
68f0b0a
perf(db): use Into to encode StoredNibbles (#11350)
DaniPopes Sep 30, 2024
c2cabca
fix(hooks): sort reverts in `BundleState` before comparison (#11358)
Rjected Sep 30, 2024
6bbb07b
chore(cli): Add warning for misconfigured HTTP API flags (#11360)
TheDhejavu Oct 1, 2024
f51ac78
fix: never ban trusted peers (#11254)
mattsse Oct 1, 2024
a8a380f
feat(exex): use rmp-serde for WAL storage (#11353)
shekhirin Oct 1, 2024
bdbdb14
ci(hive): update expected rpc-compat failures (#11367)
fgimenez Oct 1, 2024
94b076d
chore: log num hash (#11364)
mattsse Oct 1, 2024
b208540
docs: misc in memory docs (#11365)
mattsse Oct 1, 2024
b29d81c
fix(provider): use `canonical_chain` on range lookups (#11332)
joshieDo Oct 1, 2024
6b3a759
fix(evm): propagate optimism and test features correctly (#11373)
shekhirin Oct 1, 2024
15e3e0e
dev: block_with_senders on BlockState (#11363)
greged93 Oct 1, 2024
19593d4
chore: propagate std feature to alloy-trie (#11371)
DaniPopes Oct 1, 2024
d8b9f5d
test(engine): improve deep reorg test (#11378)
rkrasiuk Oct 1, 2024
0a183b4
feat: add ReputationChangeWeights::zero (#11375)
mattsse Oct 1, 2024
7fab4c3
perf(engine): avoid unnecessary arc clones on new head (#11381)
rkrasiuk Oct 1, 2024
86f12b7
feat(trie): deserialize trie updates with serde as hex (#11369)
shekhirin Oct 1, 2024
9c041d2
fix(exex): set next file ID when creating WAL storage (#11372)
shekhirin Oct 1, 2024
707067a
chore: limit tracing logs to debug by default (#11377)
DaniPopes Oct 1, 2024
fbc01d6
chore(deps): bump some breaking deps (#11388)
DaniPopes Oct 1, 2024
b5b7005
chore: Remove redundant impl NetworkManager (#11390)
nkysg Oct 1, 2024
22ddc98
fix(provider): handle race on `fn transaction_id` (#11380)
joshieDo Oct 1, 2024
b722272
chore(db): simplify Compact for Vec (#11361)
DaniPopes Oct 1, 2024
2d221db
fix: use pending state if available (#11391)
mattsse Oct 1, 2024
b9341a7
fix(tree): use in-memory data first to query total difficulty (#11382)
fgimenez Oct 1, 2024
9c9b1fd
fix: add tracing features to op binary (#11395)
mattsse Oct 1, 2024
9c6e31f
feat(primitives): bincode compatibility for EIP-7702 transaction (#11…
shekhirin Oct 1, 2024
408d793
fix(engine): `is_fork` header traversal (#11368)
rkrasiuk Oct 1, 2024
7e4b1bf
chore(Makefile): separate features by spaces only (#11393)
Rjected Oct 1, 2024
07dc861
chore: rename default chainspec parser (#11398)
mattsse Oct 1, 2024
2d59212
ci: pin clippy to working version (#11401)
nkysg Oct 2, 2024
12554c4
fix: fetch header by hash (#11407)
mattsse Oct 2, 2024
c6529a8
chore: add metric and trace for already executed blocks (#11406)
mattsse Oct 2, 2024
7cec526
chore: make clippy happy (#11408)
mattsse Oct 2, 2024
d5bdc1c
feat(net): Perform graceful network shutdown before dropping network …
garwahl Oct 2, 2024
64fae4d
chore: rm crate reth-rpc-types (#11341)
nkysg Oct 2, 2024
7c15326
feat: add `get_in_memory_or_storage_by_block` to `BlockchainProvider2…
joshieDo Oct 2, 2024
d47904f
dev: swap_remove (#11405)
greged93 Oct 2, 2024
82cc96d
fix(stages): call post execute/unwind commit hooks (#11413)
shekhirin Oct 2, 2024
8d3a03a
fix(exex): check exex head against node head to determine canonical (…
shekhirin Oct 2, 2024
a07efa7
chore: rm todos (#11400)
nkysg Oct 2, 2024
4491b0d
feat(trie): bincode compatibility for trie updates (#11409)
shekhirin Oct 2, 2024
2a4f46b
feat(stages): fail Execution if post execute commit input isn't consu…
shekhirin Oct 2, 2024
afbe2bb
fix: apply 4788 system call in tracing (#11417)
mattsse Oct 2, 2024
b44fff4
feat(chain-state): notify about new safe/finalized only if modified (…
shekhirin Oct 2, 2024
b66e4f5
fix(exex): do not finalize WAL with a block higher than finalized hea…
shekhirin Oct 2, 2024
da23e1c
chore(provider): rename to `get_in_memory_or_storage_by_block_range_w…
joshieDo Oct 2, 2024
d36683d
chore(sdk): define traits for primitives `Block` and `BlockBody` (#11…
emhane Oct 2, 2024
e2f35ce
chore: remove temporary allow attribute (#11428)
fgimenez Oct 2, 2024
2ca8231
chore(provider): dont recover sender from `BlockState` transaction on…
joshieDo Oct 2, 2024
e882d00
feat(exex): WAL metrics (#11431)
shekhirin Oct 2, 2024
3bbbade
Fix: Reorder all serde_bincode_compat module definitions (#11435)
varun-doshi Oct 2, 2024
16be8b9
feat(exex): commit notifications to WAL before sending to ExExes (#11…
shekhirin Oct 2, 2024
c4ce997
fix: reset pruned sender numbers on stage drop (#11150)
hai-rise Oct 2, 2024
5ec448e
feat: add `get_in_memory_or_storage_by_tx_range` (#11414)
joshieDo Oct 2, 2024
70d498d
chore: make clippy happy (#11439)
mattsse Oct 2, 2024
6b261db
docs: fix wrong method name (#11441)
kariy Oct 2, 2024
575669b
fix: env tempdir failure on WAL creation (#11446)
shekhirin Oct 3, 2024
7fbe19a
primitives: remove optimism re-export in `reth-primitives` (#11438)
tcoratger Oct 3, 2024
fe1f189
fix(exex): WAL size metric (#11448)
shekhirin Oct 3, 2024
73d5ce7
chore: replace `Compact` with `bincode` on `ETL` usage of `SealedHead…
joshieDo Oct 3, 2024
601c6fe
fix(exex): limit the duration of a backfill job to 30 seconds (#11450)
shekhirin Oct 3, 2024
4960b92
feat: impl payload attributes builder (#11336)
greged93 Oct 3, 2024
4897c36
Merge branch 'main' into chore-merge-upstream-4960b927b
Thegaram Oct 3, 2024
e5dad5b
update fork base commit
Thegaram Oct 3, 2024
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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/assets/check_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ exclude_crates=(
reth-ethereum-payload-builder
reth-etl
reth-evm-ethereum
reth-evm-optimism
reth-execution-errors
reth-exex
reth-exex-test-utils
Expand All @@ -49,8 +48,9 @@ exclude_crates=(
reth-node-ethereum
reth-node-events
reth-node-metrics
reth-node-optimism
reth-optimism-cli
reth-optimism-evm
reth-optimism-node
reth-optimism-payload-builder
reth-optimism-rpc
reth-payload-builder
Expand Down
19 changes: 18 additions & 1 deletion .github/assets/hive/expected_failures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,24 @@ rpc-compat:
- eth_getBlockByNumber/get-latest (reth)
- eth_getBlockByNumber/get-safe (reth)

# https://github.com/paradigmxyz/reth/issues/8732
- eth_createAccessList/create-al-contract-eip1559 (reth)
- eth_createAccessList/create-al-contract (reth)
- eth_getProof/get-account-proof-blockhash (reth)
- eth_getProof/get-account-proof-latest (reth)
- eth_getProof/get-account-proof-with-storage (reth)
- eth_getTransactionByBlockHashAndIndex/get-block-n (reth)
- eth_getTransactionByBlockNumberAndIndex/get-block-n (reth)
- eth_getTransactionByHash/get-access-list (reth)
- eth_getTransactionByHash/get-blob-tx (reth)
- eth_getTransactionByHash/get-dynamic-fee (reth)
- eth_getTransactionByHash/get-legacy-create (reth)
- eth_getTransactionByHash/get-legacy-input (reth)
- eth_getTransactionByHash/get-legacy-tx (reth)
- eth_getTransactionReceipt/get-legacy-contract (reth)
- eth_getTransactionReceipt/get-legacy-input (reth)
- eth_getTransactionReceipt/get-legacy-receipt (reth)'

# https://github.com/paradigmxyz/reth/issues/8732
engine-withdrawals:
- Withdrawals Fork On Genesis (Paris) (reth)
- Withdrawals Fork on Block 1 (Paris) (reth)
Expand Down
17 changes: 17 additions & 0 deletions .github/assets/hive/expected_failures_experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,23 @@ rpc-compat:
- eth_getBlockByNumber/get-latest (reth)
- eth_getBlockByNumber/get-safe (reth)

- eth_createAccessList/create-al-contract-eip1559 (reth)
- eth_createAccessList/create-al-contract (reth)
- eth_getProof/get-account-proof-blockhash (reth)
- eth_getProof/get-account-proof-latest (reth)
- eth_getProof/get-account-proof-with-storage (reth)
- eth_getTransactionByBlockHashAndIndex/get-block-n (reth)
- eth_getTransactionByBlockNumberAndIndex/get-block-n (reth)
- eth_getTransactionByHash/get-access-list (reth)
- eth_getTransactionByHash/get-blob-tx (reth)
- eth_getTransactionByHash/get-dynamic-fee (reth)
- eth_getTransactionByHash/get-legacy-create (reth)
- eth_getTransactionByHash/get-legacy-input (reth)
- eth_getTransactionByHash/get-legacy-tx (reth)
- eth_getTransactionReceipt/get-legacy-contract (reth)
- eth_getTransactionReceipt/get-legacy-input (reth)
- eth_getTransactionReceipt/get-legacy-receipt (reth)'

# https://github.com/paradigmxyz/reth/issues/8732
engine-withdrawals:
- Withdrawals Fork On Genesis (Paris) (reth)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
name: Run tests
run: |
cargo nextest run \
--locked -p reth-node-optimism --features "optimism"
--locked -p reth-optimism-node --features "optimism"

integration-success:
name: integration success
Expand Down
Loading
Loading