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 with upstream v1.0.6 #127

Merged
merged 616 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
616 commits
Select commit Hold shift + click to select a range
7e5414e
fix: add requests root when converting alloy header (#10197)
onbjerg Aug 8, 2024
340b606
`reth-eth-types`: Do not import `JsInspectorError` by default (#10202)
citizen-stig Aug 8, 2024
685398d
refactor: derive `PartialEq` for `CanonStateNotification` (#10195)
onbjerg Aug 8, 2024
c639648
fix: return only canonical blocks for history_by_* methods (#10190)
Rjected Aug 8, 2024
ea25df7
chore: downgrade ipc warning (#10205)
mattsse Aug 8, 2024
a206eb3
Bump tokio version to mitigate default error in `reth-chain-state` (#…
citizen-stig Aug 8, 2024
106a0c7
refactor: replace once_cell Lazy with LazyLock (#9844)
harsh-ps-2003 Aug 8, 2024
71bf575
fix: properly modify spec id for evm (#10210)
mattsse Aug 8, 2024
75a501e
chore: derive serde traits (#10198)
xJonathanLEI Aug 8, 2024
c4aae6d
feat: make EthService generic over engine types and block executor (#…
fgimenez Aug 8, 2024
0ee689f
fix: detect invalid buffered block when insert fails (#10217)
Rjected Aug 8, 2024
63c71cf
feat: make Eth node launcher generic (#10218)
fgimenez Aug 8, 2024
aa278bc
feat: inject locally built payloads into the tree (#10216)
mattsse Aug 8, 2024
d2b0ff4
feat: integrate engine2 for optimism (#10222)
fgimenez Aug 8, 2024
0216e78
feat: make additional validation tasks size configurable (#10200)
nkysg Aug 8, 2024
7634995
docs: fix Common metrics types path (#10224)
AJStonewee Aug 8, 2024
5716c20
Add support for optimism granite hardfork (#10107)
BrianBland Aug 9, 2024
3c70998
deps: rm unused deps (#10229)
tcoratger Aug 9, 2024
50397cd
evm: add unit tests for `ConfigureEvm` trait (#10230)
tcoratger Aug 9, 2024
c8a332f
feat: add metrics for dropped outgoing messages (#10225)
nkysg Aug 9, 2024
e49f173
fix: only mark propagated txs as seen (#10234)
SkandaBhat Aug 9, 2024
66ddc5d
chore: use exact max full peer count or round (#10228)
mattsse Aug 9, 2024
547ee14
chore: add trace for when nothing to propagate (#10226)
mattsse Aug 9, 2024
1d83d14
feat: function-like macro for generating tests (#10233)
klkvr Aug 9, 2024
907209e
feat: add setting for how many blocks can be persisted (#10237)
fgimenez Aug 9, 2024
3ae96ba
test: add test for prune.segments toml parsing (#10236)
mattsse Aug 9, 2024
fe43f57
chore: remove reference to EngineApiTreeHandlerImpl (#10239)
Rjected Aug 9, 2024
995c5fc
feat: add stage run <STAGE> tests (#10164)
greged93 Aug 9, 2024
ffd71a0
chore: release 1.0.5 (#10242)
mattsse Aug 9, 2024
1527dc0
chore: remove WriteTransactions from PersistenceAction (#10241)
Rjected Aug 9, 2024
e280aaf
fix: make EvmEnvProvider methods aware of in-memory state (#10240)
Rjected Aug 9, 2024
5671d0a
fix: use op-reth bin for unwind in op-sync CI (#10243)
Rjected Aug 9, 2024
9b5a166
fix: use --chain base for op-sync CI test (#10244)
Rjected Aug 9, 2024
80cf638
docs: add more engine design docs (#9748)
Rjected Aug 9, 2024
2840a95
fix: make WithdrawalsProvider methods aware of in-memory state (#10245)
Rjected Aug 9, 2024
faa38ce
fix: TreeState::on_new_head fork and reorg handling (#10232)
fgimenez Aug 10, 2024
cdf5d8e
Add generic BlockStateNotificationStream type for pending, safe, fina…
jenpaff Aug 10, 2024
25ab85c
feat: ForkChoiceNotifications for BlockchainProvider and NoopProvider…
royvardhan Aug 10, 2024
80cf6db
typo: replace [Block] by [`Block`] in doc (#10254)
tcoratger Aug 10, 2024
532ea9d
deps: rm useless dependencies (#10255)
tcoratger Aug 10, 2024
603e39a
evm: unit tests for `evm_with_inspector` and `evm_with_env_and_inspec…
tcoratger Aug 10, 2024
e94bd24
chore(reth-engine-primitives): remove unused code (#10261)
nkysg Aug 12, 2024
6eae55e
chore: fix typos (#10260)
nkysg Aug 12, 2024
330f73b
refactor: remove `#[reth_codec]` and `#[derive_arbitrary]` macros (#1…
klkvr Aug 12, 2024
af85c13
docs: delete interface (#10265)
LandLord529 Aug 12, 2024
3fe862e
chore(deps): weekly `cargo update` (#10257)
github-actions[bot] Aug 12, 2024
b8a6f87
fix: fix tx propagation when full (#10251)
mattsse Aug 12, 2024
269ba89
rpc: rm `PeerCount` usage (#10271)
tcoratger Aug 12, 2024
dba5213
chore: prevent warnings on docker build (#10273)
fgimenez Aug 12, 2024
b2a035a
chore(reth-execution-errors) no_std (#10048)
martinezjorge Aug 12, 2024
52ae25a
chore(reth-consensus): `no_std` support (#9663)
martinezjorge Aug 12, 2024
d2094d0
feat(ci): check all crates for Wasm (#10084)
shekhirin Aug 12, 2024
c9af084
rpc: small refactoring in `build_transaction_receipt` (#10269)
tcoratger Aug 12, 2024
3d5c4b7
fix(network, p2p): Wasm compilation (#10278)
shekhirin Aug 12, 2024
5ab8b73
fix(ci): include Wasm job in merge group success (#10279)
shekhirin Aug 12, 2024
dfcd00f
feat(ci): compile `reth-consensus` crate for Wasm (#10277)
shekhirin Aug 13, 2024
8a802da
chore(engine): enable engine debug streams in new implementation (#10…
rkrasiuk Aug 13, 2024
ac3d62b
perf(tree): re-use intermediate nodes (#9836)
rkrasiuk Aug 13, 2024
91c1df3
fix: make RequestsProvider method aware of in-memory state (#10252)
lakshya-sky Aug 13, 2024
80e79bd
feat: return empty list for post-merge blocks in BlockchainProvider2:…
fgimenez Aug 13, 2024
f8db95f
chore(consensus): ease accepted validation types (#10285)
rkrasiuk Aug 13, 2024
b52a65b
chore(reth-storage-errors): no_std support (#10011)
martinezjorge Aug 13, 2024
834858c
chore: remove rlp derivation from sealed block (#10287)
rkrasiuk Aug 13, 2024
a92a3ec
docs: add engine kind flag to op-mainnet book (#10289)
joshieDo Aug 13, 2024
89c0c0f
feat(net): Add panel for dropped egress cap messages (#10275)
emhane Aug 13, 2024
418e223
fix: set first block at the beginning of batch execution (#10302)
joshieDo Aug 14, 2024
4421565
fix(provider): range methods in `BlockchainProvider2` (#10300)
shekhirin Aug 14, 2024
60905f2
book: add env guide to `exex` book (#10310)
rkdud007 Aug 14, 2024
97e153a
reth book: add instruction to update rust version (#10308)
bap2pecs Aug 14, 2024
c2808f1
feat(provider): `BlockchainProvider2::account_block_changeset` (#10311)
shekhirin Aug 15, 2024
a0cf68e
fix(engine): aggregate state for chain notification (#10295)
rkrasiuk Aug 15, 2024
15306f4
doc: update the recommended hardware in the installation page (#10313)
bap2pecs Aug 15, 2024
9f15670
feat(provider): `BlockchainProvider2::transaction_id` (#10296)
shekhirin Aug 15, 2024
821d3e6
feat(provider): receipt and transaction by id in `BlockchainProvider2…
shekhirin Aug 15, 2024
668945f
fix: use saturating add for datagas (#10315)
mattsse Aug 15, 2024
b6f02a8
feat: implement tx validator for either (#10328)
mattsse Aug 15, 2024
45285cf
rpc: small refactor in `ommer_by_block_and_index` (#10325)
tcoratger Aug 15, 2024
bff65e5
feat: disable l1 data gas cost in --dev mode (#10332)
mattsse Aug 15, 2024
fac41d3
chore(lint): Fix lint (#10359)
emhane Aug 15, 2024
6ace2fb
refactor(storage): small refactor in `convert_block_number` (#10364)
tcoratger Aug 16, 2024
c9dc712
docs: fix param name (#10366)
meetmangukiya Aug 16, 2024
1edfbd7
chain-state: derive `Default` for `ExecutedBlock` (#10372)
tcoratger Aug 17, 2024
57c99e8
fix(engine2): ensure static files are up to the tip when coming from …
joshieDo Aug 17, 2024
33985d2
chain-state: add unit test for `to_chain_notification` (#10373)
tcoratger Aug 17, 2024
2d58c0b
chore(node): Refactor node builder wrt stable 1.79.0 (#10367)
emhane Aug 17, 2024
a918779
dev(primitives): signature conversion (#10371)
greged93 Aug 17, 2024
741b65f
test(provider): `BlockHashReader` of `BlockchainProvider2` (#10335)
shekhirin Aug 17, 2024
b6edbe3
fix(payload): 7702 hardfork activation validation (#10360)
shekhirin Aug 17, 2024
6bf3ca3
feat(db): models crate (#10314)
shekhirin Aug 17, 2024
85cdf01
fix(trie): exclude trie updates for root node (#10306)
rkrasiuk Aug 17, 2024
71bf5a1
test(provider): `HeaderProvider` of `BlockchainProvider2` (#10330)
shekhirin Aug 17, 2024
153a3e3
feat: add impl From GenesisAccount to Account (#10256)
mvares Aug 17, 2024
d4acf69
fix(net): fix constants for `TransactionsManager` that use `LruMap` b…
emhane Aug 17, 2024
8c02aca
chore(net): Expose max seen transactions history size as cli arg (#10…
emhane Aug 17, 2024
fceec0a
chore(tx-pool): pool cli args (#10323)
emhane Aug 17, 2024
f67608d
test(provider): `BlockNumReader` of `BlockchainProvider2` (#10354)
shekhirin Aug 17, 2024
9bed8cf
feat: improve connecting downloaded blocks (#10368)
fgimenez Aug 17, 2024
e27ad1a
very small refactor (#10382)
tcoratger Aug 19, 2024
297934f
feat(rpc): get_account (#10369)
greged93 Aug 19, 2024
d9938a5
chore(deps): weekly `cargo update` (#10379)
github-actions[bot] Aug 19, 2024
1573746
chore(db): enable `arbitrary` feature on `reth-db-models` (#10384)
rkrasiuk Aug 19, 2024
9dc855d
chore: update hive expected failures (#10386)
fgimenez Aug 19, 2024
7f6aa43
feat: light cleaning (#10385)
greged93 Aug 20, 2024
56e1448
feat: Superchain mainnet - `Granite` hardfork timestamps (#10387)
clabby Aug 20, 2024
cd05a96
dep: rm `confy` as a dep (#10290)
tcoratger Aug 20, 2024
6898c30
feat: add `subscribe_safe_block` & `subscribe_finalized_block` to `Ca…
unitezen Aug 20, 2024
32fb613
exex: add unit tests for exex manager (#10380)
tcoratger Aug 20, 2024
387ce3e
feat(provider): implement `ForkChoiceSubscriptions` for `BlockchainPr…
unitezen Aug 20, 2024
170a396
chore: invert p2p and network types dep (#10390)
mattsse Aug 20, 2024
3aaa284
chore(net): expose pending pool imports bound in cli (#10357)
emhane Aug 20, 2024
5530fb0
chain-state: add unit test for `set_pending_block` (#10363)
tcoratger Aug 20, 2024
d2010d5
feat: add `ForkChoiceSubscriptions` to `FullProvider` supertrait (#10…
unitezen Aug 20, 2024
9926c6d
docs: fix discv4 typos (#10394)
NikZak Aug 20, 2024
ec46fcc
feat: track persistence metrics (#10250)
malik672 Aug 20, 2024
3373670
fix: reorgs with forks including invalid blocks (#10320)
fgimenez Aug 20, 2024
5470574
feat(node): remove freelist from status log (#10395)
shekhirin Aug 20, 2024
9c71fa8
test: `BlockReaderIdExt` implementation for `BlockchainProvider2` (#1…
greged93 Aug 20, 2024
72ed7a9
evm: add unit tests for `ConfigureEvm` with Op cfg (#10280)
tcoratger Aug 20, 2024
c0902c8
deps: bump `derive_more` to 1.0 (#10403)
tcoratger Aug 20, 2024
aa705b2
chain-state: rm `Arc` wrapper around `BlockState` for `pending_state`…
tcoratger Aug 21, 2024
a6689e6
fix(trie): filter in-memory storage node on `seek_exact` (#10410)
rkrasiuk Aug 21, 2024
1f5fb90
fix: getAccount (#10402)
greged93 Aug 21, 2024
d9936a9
Use more appropriate names for forkchoice subscriptions (#10401)
jenpaff Aug 21, 2024
e2ea8ac
test: `BlockReader` implementation of `BlockchainProvider2<DB>` (#10370)
tcoratger Aug 21, 2024
457439e
fix(trie): clear all deleted storage nodes on extend (#10411)
rkrasiuk Aug 21, 2024
1e52ef9
fix(trie): skip cleared storage database lookup on `InMemoryStorageTr…
rkrasiuk Aug 21, 2024
ebb2d55
chore(lint): allow needless update for tests (#10414)
emhane Aug 21, 2024
ae8ce20
fix: block_range (#10418)
greged93 Aug 21, 2024
f0197a5
test: ReceiptProviderIdExt (#10420)
greged93 Aug 21, 2024
1f6993d
test(trie): fuzz in-memory storage nodes (#10413)
rkrasiuk Aug 21, 2024
5a522c8
fix(rpc/otterscan): set fullblock.tx_count with block's (#10421)
jsvisa Aug 21, 2024
7a7c1c5
fix(rpc): apply blockhashes update in witness RPC (#10419)
shekhirin Aug 21, 2024
94db8cd
test(provider): `ChangeSetReader` of `BlockchainProvider2` (#10415)
shekhirin Aug 21, 2024
b75e3df
test: add gh workflow to run hive tests with experimental flag (#10355)
fgimenez Aug 21, 2024
302ce7f
chore: make `consensus/debug-client` helpers public (#10423)
joshieDo Aug 21, 2024
3da119b
test(provider): `RequestsProvider` of `BlockchainProvider2` (#10356)
shekhirin Aug 21, 2024
64fb41c
fix link typo on `BlockState` (#10431)
tcoratger Aug 21, 2024
2dc7f13
chore: Update granite mainnet time (#10430)
clabby Aug 21, 2024
5644347
feat: add method in txpool for handling pending transactions (#10303)
mvares Aug 22, 2024
dc4643f
chore: replace `RichBlock` by `Block` (#10399)
mvares Aug 22, 2024
cdc39a7
fix: range update (#10424)
greged93 Aug 22, 2024
82f41c5
evm: wider use of `RethEvmBuilder` (#9944)
tcoratger Aug 22, 2024
f425521
fix(trie): filter out removed nodes on extend (#10433)
rkrasiuk Aug 22, 2024
362c238
consensus: refactor `build_header_template` (#10442)
tcoratger Aug 22, 2024
bb734e9
exex: add more robust tests for `finished_height` update (#10439)
tcoratger Aug 22, 2024
a942467
consensus: fix `build_header_template` output (#10444)
tcoratger Aug 22, 2024
aa8b3de
Make js-feature non default (#10445)
nkysg Aug 22, 2024
dc4c71e
chore: no feature gated imports (#10440)
mattsse Aug 22, 2024
82f1016
feat: make js-feature non default (#10447)
nkysg Aug 22, 2024
a4c30ea
test: `CanonChainTracker` implementation for `BlockchainProvider2` (#…
greged93 Aug 22, 2024
f2e0bc0
feat: `ChainSpec` associated type (#10292)
klkvr Aug 22, 2024
1581010
chore(net): expose max concurrent `GetPooledTransactions` reqs in cli…
emhane Aug 22, 2024
f686e0b
Test `CanonStateSubscriptions` for `BlockchainProvider2` (#10361)
roynalnaruto Aug 22, 2024
7fb9a04
test: `BlockIdReader` implementation of `BlockchainProvider2<DB>` (#1…
tcoratger Aug 22, 2024
7d8196e
chore(rpc): config network specific transaction type in node builder …
emhane Aug 22, 2024
85c1c07
fix: FetchFullBlockRangeFuture doesn't return on bad header (#10449)
fgimenez Aug 22, 2024
ed6ee0c
docs(ci): expand introduction to CI workflows (#10291)
gancerlory Aug 22, 2024
ae0c7be
feat(trie): hashed state from cache (#10455)
rkrasiuk Aug 22, 2024
70a1015
chore(tree): remove BlockAttachment usage (#10453)
Rjected Aug 22, 2024
24495cd
Add tests for withdrawals provider (#10428)
jenpaff Aug 22, 2024
0a7ac41
refactor: use EIP TX_TYPE_ID (#10471)
nkysg Aug 23, 2024
debd1eb
fix(trie): collect revert state for historical storage root (#10465)
rkrasiuk Aug 23, 2024
72293c9
chore(trie): remove `PrefixSetMut::contains` (#10466)
rkrasiuk Aug 23, 2024
accd051
perf(rpc): avoid redundant tx decoding on witness generation (#10474)
rkrasiuk Aug 23, 2024
3e3f332
fix(trie): take earliest value in `HashedStorage::from_reverts` (#10475)
rkrasiuk Aug 23, 2024
07bf04d
Remove redundant `EthChainSpec::Hardfork` (#10470)
emhane Aug 23, 2024
961821c
fix(exex): instrument `ExEx::launch` with the span (#10481)
shekhirin Aug 23, 2024
23f9f4a
fix(provider): fix subtract overflow on `block_state_by_tx_id` (#10467)
joshieDo Aug 23, 2024
8ba7821
fix(provider): check list size before calling `range.nth` (#10460)
joshieDo Aug 23, 2024
0791b9e
refactor: replace ForkChoiceStream type with generic stream type (#10…
jenpaff Aug 23, 2024
6bb9bbb
Add emhane as code owner for `reth-chainspec` (#10487)
emhane Aug 23, 2024
a7a9f9f
Add emhane as code owner for optimism crates (#10488)
emhane Aug 23, 2024
22f928a
feat : add the ability to connect to a peer (#10028)
nkysg Aug 24, 2024
dbdb111
rpc: remove special module handling for `eth_callBundle` (#10486)
tcoratger Aug 24, 2024
e52ca0e
chore(cli): rename optimism args test (#10492)
Rjected Aug 24, 2024
adf7fb2
chore: remove clippy::missing_debug_implementations (#10491)
nkysg Aug 24, 2024
8df9efd
docs: fix broken link in review.md (#10480)
nkysg Aug 24, 2024
3d2de47
chore(txpool): rename the function of tx_by_sender_and_nonce (#10473)
jsvisa Aug 24, 2024
4544287
refactor: mv `ChangedAccount` (#10472)
tcoratger Aug 24, 2024
082f37c
feat(rpc): Add method removal functionality for RPC transports (#10497)
SkandaBhat Aug 24, 2024
6dc00a2
tx-pool: rm into tx constraint for `PoolTransaction` (#10057)
tcoratger Aug 24, 2024
a17b519
fix: set gas price for op deposit (#10495)
mattsse Aug 24, 2024
b50a9ba
refactor(rpc): Use TransactionInfo instead of individual fields (#10500)
SkandaBhat Aug 24, 2024
bcb0a23
fix: only set isSystemtx if true (#10496)
mattsse Aug 24, 2024
e834f7c
docs: fix git clone urls (#10490)
quertc Aug 24, 2024
c788b6a
fix: `transaction_by_hash_with_meta` implementation of `CanonicalInMe…
greged93 Aug 24, 2024
7f56bee
primitives: rm `IntoRecoveredTransaction` for `TransactionSignedEcRec…
tcoratger Aug 25, 2024
6459acb
chore(deps): weekly `cargo update` (#10506)
github-actions[bot] Aug 25, 2024
dfcfe8d
tx-pool: add `try_from_consensus` for `PoolTransaction` (#10504)
tcoratger Aug 25, 2024
5254f16
feat: add impl From BlockExecutionOutput for ExecutionOutcome (#10507)
nkysg Aug 25, 2024
1216273
chore: fix clippy (#10532)
rkrasiuk Aug 26, 2024
cb6e5ed
fix(trie): consider all intermediate nodes invalidated for wiped stor…
rkrasiuk Aug 26, 2024
96a8c23
chore(reth-codec): use constant (#10533)
nkysg Aug 26, 2024
cac70d9
chore(reth-codec): remove unused code (#10531)
nkysg Aug 26, 2024
986e402
clippy: add `option_as_ref_cloned` clippy lint (#10528)
tcoratger Aug 26, 2024
042faac
feat: impl From alloy-consensus::TxType for reth_primitives::TxType …
nkysg Aug 26, 2024
29058ad
clippy: add `cloned_instead_of_copied` clippy lint (#10530)
tcoratger Aug 26, 2024
73a4242
chore: rm unused op rpc types (#10534)
mattsse Aug 26, 2024
9c57c4a
clippy: add `redundant_else` clippy lint (#10525)
tcoratger Aug 26, 2024
dba315f
clippy: add `unnested_or_patterns` clippy lint (#10526)
tcoratger Aug 26, 2024
e0b994b
storage: add `test_block_body_indices` for `block_body_indices` (#10429)
tcoratger Aug 26, 2024
1b1e835
Feat: exact gasUsed for eth_createAccessList (#10422)
malik672 Aug 26, 2024
709e7b7
clippy: add `if_not_else` clippy lint (#10524)
tcoratger Aug 26, 2024
655495d
clippy: add `implicit_clone` clippy lint (#10529)
tcoratger Aug 26, 2024
20756d6
feat: use system call to update blockhashes (#10535)
onbjerg Aug 26, 2024
38087a0
perf(trie): remove some clones (#10406)
DaniPopes Aug 26, 2024
1ac5336
dev(pool): trait object safe `BestTransactions` (#10478)
greged93 Aug 26, 2024
c4a2313
perf(engine): lazy load overlay trie state (#10541)
rkrasiuk Aug 26, 2024
4138b52
chore: remove usage of RichBlock (#10538)
Vid201 Aug 26, 2024
ec31b24
feat(rpc): implement eth_getTransactionBySenderAndNonce (#10540)
jsvisa Aug 26, 2024
51e9916
chore: export `RethApiClient` trait (#10545)
joshieDo Aug 26, 2024
8191e0c
chore(chainspec): move op stack chain specs to `reth-optimism-chainsp…
emhane Aug 26, 2024
a24fe46
remove transaction forwarder trait (#9678)
nkysg Aug 26, 2024
498ced8
fix(engine): memory overlay hashed storage root (#10543)
rkrasiuk Aug 26, 2024
1c427c6
feat: Properly bubble up `InsertBlockFatalError` (#10276)
martinezjorge Aug 26, 2024
763e961
chore: delay initial filter tick (#10564)
mattsse Aug 27, 2024
69e5a85
clippy: add `manual_is_variant_and` clippy lint (#10556)
tcoratger Aug 27, 2024
1d07ff7
docs(reth-engine-tree): slightly improve inline docs (#10561)
martinezjorge Aug 27, 2024
f6f16fc
clippy: add `needless_for_each` clippy lint (#10555)
tcoratger Aug 27, 2024
7a76fcb
test: `BlockReader` implementation of `BlockchainProvider2<DB>` (#10557)
tcoratger Aug 27, 2024
e6dc947
chore: sort lints (#10565)
onbjerg Aug 27, 2024
7df7bc2
chore(op): Add `OpChainSpec` (#10516)
emhane Aug 27, 2024
7ea748e
refactor(provider): random_block and random_block_range functions (#1…
jenpaff Aug 27, 2024
16577e0
chore: add tempfile to dev dep (#10569)
mattsse Aug 27, 2024
b1d6e27
chore(tree): make remove_before bound inclusive (#10559)
Rjected Aug 27, 2024
0b6480c
fix(op): receipts import, fix chunked read of file with optional bloc…
emhane Aug 28, 2024
85ef1fb
docs(book): update observability.md (#10587)
emnul Aug 28, 2024
5b7d637
chore: bump discv5 (#7981)
onbjerg Aug 28, 2024
f600ff0
feat(debug): engine reorg util depth (#10575)
rkrasiuk Aug 28, 2024
8987b4f
fix: pop consolidation requests in payload builder (#10591)
onbjerg Aug 28, 2024
0013399
refactor: split validate_block_pre_execution into hardfork specific f…
willco-1 Aug 28, 2024
cf7416e
chore(trie): remove plain state proof variant (#10593)
rkrasiuk Aug 28, 2024
ffc4f64
ethereum: add unit tests for consensus validation (#10578)
tcoratger Aug 28, 2024
29b02cc
chore(trie): `StorageRootProvider` (#10592)
rkrasiuk Aug 28, 2024
3be92d5
Pending receipt (#10597)
malik672 Aug 28, 2024
6f086d1
chore(trie): clean up state root methods (#10598)
rkrasiuk Aug 28, 2024
4227055
fix(hive): remove `eth_createAccessList` tests from expected failures…
joshieDo Aug 28, 2024
ca5d3b0
chore(tree): make on_engine_message more concise (#10605)
Rjected Aug 29, 2024
019ec72
chore: re-export reth_chainspec in reth (#10604)
ziminq Aug 29, 2024
ec5ce21
chore(deps): bump alloy (#10537)
klkvr Aug 29, 2024
71cad4a
tree: bump persistence threshold and memory buffer target (#10608)
rkrasiuk Aug 29, 2024
0dbab7a
test: `TransactionsProvider` implementation of `BlockchainProvider2<D…
tcoratger Aug 29, 2024
b0f3949
chore: bump op-alloy to latest (#10607)
mattsse Aug 29, 2024
671adf5
release: v1.0.6 (#10609)
rkrasiuk Aug 29, 2024
a4f405a
fix: op fee fields (#10615)
mattsse Aug 29, 2024
c228fe1
fix(op): empty receipts for block not counted by file client (#10581)
emhane Aug 29, 2024
ee228d7
Merge branch 'refs/heads/v1.0.6' into merge-v1.0.6
pythonberg1997 Sep 2, 2024
54f56db
chore: resolve merge conflicts
pythonberg1997 Sep 3, 2024
785411b
Merge branch 'refs/heads/develop' into merge-v1.0.6
pythonberg1997 Sep 3, 2024
69139a8
chore: resolve merge conflicts
pythonberg1997 Sep 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
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
bin/ @onbjerg
crates/blockchain-tree/ @rakita @rkrasiuk @mattsse @Rjected
crates/blockchain-tree-api/ @rakita @rkrasiuk @mattsse @Rjected
crates/chainspec/ @Rjected @joshieDo @mattsse
crates/chainspec/ @Rjected @joshieDo @mattsse @emhane
crates/chain-state/ @fgimenez @mattsse @rkrasiuk
crates/cli/ @onbjerg @mattsse
crates/config/ @onbjerg
crates/consensus/ @rkrasiuk @mattsse @Rjected
Expand All @@ -20,7 +21,7 @@ crates/metrics/ @onbjerg
crates/net/ @emhane @mattsse @Rjected
crates/net/downloaders/ @onbjerg @rkrasiuk @emhane
crates/node/ @mattsse @Rjected @onbjerg
crates/optimism/ @mattsse @Rjected @fgimenez
crates/optimism/ @mattsse @Rjected @fgimenez @emhane
crates/payload/ @mattsse @Rjected
crates/primitives/ @Rjected
crates/primitives-traits/ @Rjected @joshieDo
Expand Down
33 changes: 0 additions & 33 deletions .github/assets/check_no_std.sh

This file was deleted.

151 changes: 151 additions & 0 deletions .github/assets/check_wasm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
#!/usr/bin/env bash
set +e # Disable immediate exit on error

tool_chain=$1

# Array of crates to compile
crates=($(cargo metadata --format-version=1 --no-deps | jq -r '.packages[].name' | grep '^reth' | sort))
# Array of crates to exclude
exclude_crates=(
# The following are not working yet, but known to be fixable
reth-exex-types # https://github.com/paradigmxyz/reth/issues/9946
# The following require investigation if they can be fixed
reth-auto-seal-consensus
reth-basic-payload-builder
reth-beacon-consensus
reth-bench
reth-blockchain-tree
reth-chain-state
reth-cli
reth-cli-commands
reth-cli-runner
reth-consensus-debug-client
reth-db-common
reth-discv4
reth-discv5
reth-dns-discovery
reth-downloaders
reth-e2e-test-utils
reth-engine-primitives
reth-engine-service
reth-engine-tree
reth-engine-util
reth-eth-wire
reth-ethereum-cli
reth-ethereum-engine
reth-ethereum-engine-primitives
reth-ethereum-payload-builder
reth-etl
reth-evm-ethereum
reth-evm-optimism
reth-execution-errors
reth-exex
reth-exex-test-utils
reth-ipc
reth-net-nat
reth-network
reth-node-api
reth-node-builder
reth-node-core
reth-node-ethereum
reth-node-events
reth-node-metrics
reth-node-optimism
reth-optimism-cli
reth-optimism-payload-builder
reth-optimism-rpc
reth-payload-builder
reth-payload-primitives
reth-rpc
reth-rpc-api
reth-rpc-api-testing-util
reth-rpc-builder
reth-rpc-engine-api
reth-rpc-eth-api
reth-rpc-eth-types
reth-rpc-layer
reth-rpc-types
reth-stages
reth-storage-errors
# The following are not supposed to be working
reth # all of the crates below
reth-db # mdbx
reth-libmdbx # mdbx
reth-mdbx-sys # mdbx
reth-nippy-jar # sucds
reth-provider # reth-db, reth-nippy-jar
reth-prune # reth-db
reth-stages-api # reth-provider, reth-prune
reth-static-file # reth-nippy-jar
reth-transaction-pool # c-kzg
reth-trie-db # reth-db
reth-trie-parallel # reth-db
)

# Array to hold the results
results=()
# Flag to track if any command fails
any_failed=0

# Function to check if a value exists in an array
contains() {
local array="$1[@]"
local seeking=$2
local in=1
for element in "${!array}"; do
if [[ "$element" == "$seeking" ]]; then
in=0
break
fi
done
return $in
}

for crate in "${crates[@]}"; do
if contains exclude_crates "$crate"; then
results+=("3:⏭️:$crate")
continue
fi

cmd="cargo +stable build -p $crate --target wasm32-wasip1 --no-default-features"

if [ -n "$CI" ]; then
echo "::group::$cmd"
else
printf "\n%s:\n %s\n" "$crate" "$cmd"
fi

set +e # Disable immediate exit on error
# Run the command and capture the return code
$cmd
ret_code=$?
set -e # Re-enable immediate exit on error

# Store the result in the dictionary
if [ $ret_code -eq 0 ]; then
results+=("1:✅:$crate")
else
results+=("2:❌:$crate")
any_failed=1
fi

if [ -n "$CI" ]; then
echo "::endgroup::"
fi
done

# Sort the results by status and then by crate name
IFS=$'\n' sorted_results=($(sort <<<"${results[*]}"))
unset IFS

# Print summary
echo -e "\nSummary of build results:"
for result in "${sorted_results[@]}"; do
status="${result#*:}"
status="${status%%:*}"
crate="${result##*:}"
echo "$status $crate"
done

# Exit with a non-zero status if any command fails
exit $any_failed
2 changes: 1 addition & 1 deletion .github/assets/hive/build_simulators.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ wait
# Make sure we don't rebuild images on the CI jobs
git apply ../.github/assets/hive/no_sim_build.diff
go build .
mv ./hive ../hive_assets/
mv ./hive ../hive_assets/
48 changes: 0 additions & 48 deletions .github/assets/hive/expected_failures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ rpc-compat:
- debug_getRawTransaction/get-invalid-hash (reth)

- eth_call/call-callenv (reth)
- eth_createAccessList/create-al-contract-eip1559 (reth)
- eth_createAccessList/create-al-contract (reth)
- eth_feeHistory/fee-history (reth)
- eth_getStorageAt/get-storage-invalid-key-too-large (reth)
- eth_getStorageAt/get-storage-invalid-key (reth)
Expand Down Expand Up @@ -48,29 +46,6 @@ engine-api:
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=True, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasLimit, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Timestamp, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Paris) (reth)

# Hive issue
# https://github.com/ethereum/hive/issues/1135
- Invalid Missing Ancestor Syncing ReOrg, Transaction Signature, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Signature, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Nonce, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Nonce, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Gas, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Gas, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction GasPrice, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction GasPrice, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Value, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Value, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, ReceiptsRoot, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, ReceiptsRoot, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasLimit, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasUsed, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasUsed, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Timestamp, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Incomplete Transactions, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Incomplete Transactions, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Paris) (reth)

# https://github.com/paradigmxyz/reth/issues/8305
# https://github.com/paradigmxyz/reth/issues/6217
Expand All @@ -86,35 +61,12 @@ engine-cancun:
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=True, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, StateRoot, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasLimit, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Timestamp, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Cancun) (reth)
- Invalid PayloadAttributes, Missing BeaconRoot, Syncing=True (Cancun) (reth)
- Invalid NewPayload, ParentBeaconBlockRoot, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
- Invalid NewPayload, BlobGasUsed, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
- Invalid NewPayload, Blob Count on BlobGasUsed, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
- Invalid NewPayload, ExcessBlobGas, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)

# Hive issue
# https://github.com/ethereum/hive/issues/1135
- Invalid Missing Ancestor Syncing ReOrg, ReceiptsRoot, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, ReceiptsRoot, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasLimit, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasUsed, EmptyTxs=False, CanonicalReOrg=False, Invalid P8 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, GasUsed, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Timestamp, EmptyTxs=False, CanonicalReOrg=True, Invalid P8 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Incomplete Transactions, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Incomplete Transactions, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Signature, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Signature, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Nonce, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Nonce, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Gas, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Gas, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction GasPrice, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction GasPrice, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Value, EmptyTxs=False, CanonicalReOrg=False, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor Syncing ReOrg, Transaction Value, EmptyTxs=False, CanonicalReOrg=True, Invalid P9 (Cancun) (reth)

# https://github.com/paradigmxyz/reth/issues/8579
sync:
- sync reth -> reth
65 changes: 65 additions & 0 deletions .github/assets/hive/expected_failures_experimental.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# https://github.com/paradigmxyz/reth/issues/7015
# https://github.com/paradigmxyz/reth/issues/6332
rpc-compat:
- debug_getRawBlock/get-invalid-number (reth)
- debug_getRawHeader/get-invalid-number (reth)
- debug_getRawReceipts/get-invalid-number (reth)
- debug_getRawTransaction/get-invalid-hash (reth)

- eth_call/call-callenv (reth)
- eth_feeHistory/fee-history (reth)
- eth_getStorageAt/get-storage-invalid-key-too-large (reth)
- eth_getStorageAt/get-storage-invalid-key (reth)
- eth_getTransactionReceipt/get-access-list (reth)
- eth_getTransactionReceipt/get-blob-tx (reth)
- eth_getTransactionReceipt/get-dynamic-fee (reth)

# https://github.com/paradigmxyz/reth/issues/8732
engine-withdrawals:
- Withdrawals Fork On Genesis (Paris) (reth)
- Withdrawals Fork on Block 1 (Paris) (reth)
- Withdrawals Fork on Block 2 (Paris) (reth)
- Withdrawals Fork on Block 3 (Paris) (reth)
- Withdraw to a single account (Paris) (reth)
- Withdraw to two accounts (Paris) (reth)
- Withdraw many accounts (Paris) (reth)
- Withdraw zero amount (Paris) (reth)
- Empty Withdrawals (Paris) (reth)
- Corrupted Block Hash Payload (INVALID) (Paris) (reth)
- Withdrawals Fork on Block 1 - 8 Block Re-Org NewPayload (Paris) (reth)
- Withdrawals Fork on Block 1 - 8 Block Re-Org, Sync (Paris) (reth)
- Withdrawals Fork on Block 8 - 10 Block Re-Org NewPayload (Paris) (reth)
- Withdrawals Fork on Block 8 - 10 Block Re-Org Sync (Paris) (reth)
- Withdrawals Fork on Canonical Block 8 / Side Block 7 - 10 Block Re-Org (Paris) (reth)
- Withdrawals Fork on Canonical Block 8 / Side Block 7 - 10 Block Re-Org Sync (Paris) (reth)
- Withdrawals Fork on Canonical Block 8 / Side Block 9 - 10 Block Re-Org (Paris) (reth)
- Withdrawals Fork on Canonical Block 8 / Side Block 9 - 10 Block Re-Org Sync (Paris) (reth)

# https://github.com/paradigmxyz/reth/issues/8305
# https://github.com/paradigmxyz/reth/issues/6217
engine-api:
- Re-org to Previously Validated Sidechain Payload (Paris) (reth)
- Invalid Missing Ancestor ReOrg, StateRoot, EmptyTxs=False, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor ReOrg, StateRoot, EmptyTxs=True, Invalid P9 (Paris) (reth)
- Invalid Missing Ancestor ReOrg, StateRoot, EmptyTxs=False, Invalid P10 (Paris) (reth)
- Invalid Missing Ancestor ReOrg, StateRoot, EmptyTxs=True, Invalid P10 (Paris) (reth)

# https://github.com/paradigmxyz/reth/issues/8305
# https://github.com/paradigmxyz/reth/issues/6217
# https://github.com/paradigmxyz/reth/issues/8306
# https://github.com/paradigmxyz/reth/issues/7144
engine-cancun:
- Blob Transaction Ordering, Multiple Clients (Cancun) (reth)
- Invalid PayloadAttributes, Missing BeaconRoot, Syncing=True (Cancun) (reth)
- Invalid NewPayload, BlobGasUsed, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
- Invalid NewPayload, Blob Count on BlobGasUsed, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
- Invalid NewPayload, ExcessBlobGas, Syncing=True, EmptyTxs=False, DynFeeTxs=False (Cancun) (reth)
- Re-org to Previously Validated Sidechain Payload (Cancun) (reth)
- Invalid Missing Ancestor ReOrg, StateRoot, EmptyTxs=False, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor ReOrg, StateRoot, EmptyTxs=True, Invalid P9 (Cancun) (reth)
- Invalid Missing Ancestor ReOrg, StateRoot, EmptyTxs=False, Invalid P10 (Cancun) (reth)
- Invalid Missing Ancestor ReOrg, StateRoot, EmptyTxs=True, Invalid P10 (Cancun) (reth)

# https://github.com/paradigmxyz/reth/issues/8579
sync:
- sync reth -> reth
1 change: 1 addition & 0 deletions .github/workflows/assertoor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
test_result: ${{ steps.test_result.outputs.test_result }}
test_status: ${{ steps.test_result.outputs.test_status }}
failed_test_status: ${{ steps.test_result.outputs.failed_test_status }}
if: github.repository == 'paradigmxyz/reth'
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/eth-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
merge_group:
push:
branches: [main]
branches: [ main ]

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -48,3 +48,6 @@ jobs:
- name: Run stage unwind for 100 blocks
run: |
reth stage unwind num-blocks 100
- name: Run stage unwind to block hash
run: |
reth stage unwind to-block 0x52e0509d33a988ef807058e2980099ee3070187f7333aae12b64d4d675f34c5a
Loading