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 develop in main #173

Merged
merged 427 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
427 commits
Select commit Hold shift + click to select a range
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
05a7bdc
chore(provider): use `get_in_memory_or_storage` on `transactions_by_b…
joshieDo Oct 3, 2024
a6b1fee
chore(exex): adjust WAL gauge metric names (#11454)
shekhirin Oct 3, 2024
8cd052c
chore(provider): use `get_in_memory_or_storage_by_block` on `fn block…
joshieDo Oct 3, 2024
ac85fc0
chore(provider): find `last_database_block_number` with `BlockState` …
joshieDo Oct 3, 2024
91af1a7
feat: add metrics for failed deliveries (#11456)
mattsse Oct 3, 2024
e567810
chore: release 1.0.8 (#11457)
mattsse Oct 3, 2024
96f1406
chore(provider): use `block_ref` instead on `BlockState` (#11458)
joshieDo Oct 3, 2024
f1aae36
feat(rpc): Add codes in execution witness return (#11443)
0x00101010 Oct 3, 2024
59c6329
fix: ensure the request's gas limit does not exceed the target gas li…
mattsse Oct 3, 2024
a0867a6
feat(grafana): ExEx WAL (#11461)
shekhirin Oct 3, 2024
7d092a2
fix: use correct rpc errors (#11463)
mattsse Oct 3, 2024
af46562
chore(provider): clone after filtering on `sealed_headers_while` (#1…
joshieDo Oct 3, 2024
6c16df2
Map `TransferKind::EofCreate` => `OperationType::OpEofCreate` (#11090)
emhane Oct 3, 2024
d72e438
fix: windows build (#11465)
mattsse Oct 3, 2024
b4d5ade
chore: use `block_ref` on `CanonicalInMemoryState` (#11467)
joshieDo Oct 3, 2024
ab06997
chore(rpc): remove include_preimage param on debug_execution_witness …
0x00101010 Oct 3, 2024
84370b8
feat: make addons stateful (#11204)
mattsse Oct 4, 2024
1fe9f32
Relax Trait Bounds on TransactionPool::Transaction and EthPoolTransac…
0xForerunner Oct 4, 2024
2dc5f5d
test: add unit tests for `CanonicalChain` (#11472)
tcoratger Oct 4, 2024
af1eb61
feat(perf): integrate OnStateHook in executor (#11345)
fgimenez Oct 4, 2024
5fd6906
feat: cleaned up prepare_call_env() (#11469)
varun-doshi Oct 4, 2024
399192c
chore: use block.body directly (#11474)
mattsse Oct 4, 2024
c5cfaf1
feat: Add metrics to track transactions by type in txpool (#11403)
garwahl Oct 4, 2024
72e0ab1
chore: op chainspec (#11415)
greged93 Oct 4, 2024
0ce1dd6
chore(exex): more backfill debug logs (#11476)
shekhirin Oct 4, 2024
227e293
fix(exex): use thresholds in stream backfill (#11478)
shekhirin Oct 4, 2024
b537672
chore(db): capture tx opening backtrace in debug mode (#11477)
shekhirin Oct 4, 2024
16c39d9
chore(sdk): `SealedHeader` generic over header (#11429)
emhane Oct 4, 2024
d5ddb41
chore(lint): fix lint primitives (#11487)
emhane Oct 4, 2024
a42cfbb
chore(provider): add more test coverage on `BlockchainProvider::*by_t…
joshieDo Oct 4, 2024
62e6293
test: ensure default hash matches (#11486)
mattsse Oct 4, 2024
1f190ad
chore: rm deposit contract config for op (#11479)
mattsse Oct 4, 2024
16bc9c8
chore(lint): fix lint storage (#11485)
emhane Oct 4, 2024
093b1a1
chore(provider): add more test coverage on `BlockchainProvider::*by_b…
joshieDo Oct 4, 2024
72865f1
fix(rpc-eth-types): incorrect error msg(; -> :) (#11503)
jsvisa Oct 5, 2024
08c4065
Reexport optimism specific crates from `op-reth` (#11499)
0xForerunner Oct 5, 2024
2ca6141
feat: rpc replace function created (#11501)
varun-doshi Oct 5, 2024
a846cbd
Add metrics for failed deliveries to Grafana dashboard (#11481)
Parikalp-Bhardwaj Oct 5, 2024
28750e5
chore: Remove duplicate EthereumChainSpecParser in favor of existing …
garwahl Oct 5, 2024
36de90f
chore(lint): fix `clippy::needles_lifetimes` (#11496)
emhane Oct 5, 2024
659dec9
chore: rm from genesis impl (#11509)
mattsse Oct 5, 2024
cb078f9
fix: cap gas limit properly (#11505)
mattsse Oct 5, 2024
51db656
feat: add PoolBuilderConfigOverrides (#11507)
mattsse Oct 5, 2024
41455df
feat: expose Op node network_config helper (#11506)
mattsse Oct 5, 2024
c08c00f
chore(deps): weekly `cargo update` (#11518)
github-actions[bot] Oct 6, 2024
d2ab635
test: add unit tests for `PruneLimiter` (#11517)
tcoratger Oct 7, 2024
7842673
feat(provider): add `test_race` to `BlockchainProvider2` tests (#11523)
joshieDo Oct 7, 2024
4b12f32
fix(tree): make state methods work for historical blocks (#11265)
Rjected Oct 7, 2024
74a6453
rpc: use `eth_api()` method (#11516)
tcoratger Oct 7, 2024
f5c9701
chore: delete rpc-types (#11528)
crazykissshout Oct 7, 2024
f822848
feat: add get_highest_tx_by_sender to pools (#11514)
edisontim Oct 7, 2024
6a1ec0d
ci: add `windows` cargo check (#11468)
joshieDo Oct 7, 2024
e94d72b
fix: acquire permit first (#11537)
mattsse Oct 7, 2024
d4e9dd1
chore: dont fail on ttd (#11539)
mattsse Oct 7, 2024
04fa08c
grafana: add metrics of all transactions in pool by type (#11515)
No0key Oct 7, 2024
8a0bcbb
feat(exex): subscribe to notifications with head using `ExExContext` …
shekhirin Oct 7, 2024
54c8305
chore: enforce window (#11540)
mattsse Oct 7, 2024
8ca5ec9
Refactor get_payload_bodies_by_hash_with to be non-blocking (#11511)
Parikalp-Bhardwaj Oct 7, 2024
9a732f6
Introduce Eth PayloadTypes Impl (#11519)
stevencartavia Oct 7, 2024
a6b564e
fix(op-reth): add jemalloc feature to optimism-cli for version (#11543)
Rjected Oct 7, 2024
c35b8be
fix(grafana): remove rate function from panel "Transactions by Type i…
emhane Oct 7, 2024
b67f004
chore: move ethfiltererror (#11552)
mattsse Oct 7, 2024
5e288b2
chore: rm redundant type hint (#11557)
mattsse Oct 8, 2024
5eb71e3
Introduce Op PayloadTypes Impl (#11558)
stevencartavia Oct 8, 2024
33b78dc
chore: chain manual serialisation implementation (#11538)
greged93 Oct 8, 2024
6e92ab8
chore: rm unused optimism feature (#11559)
mattsse Oct 8, 2024
548f5b9
feat(trie): expose storage proofs (#11550)
rkrasiuk Oct 8, 2024
ece894b
chore: rm unused optimism feature from compat (#11560)
mattsse Oct 8, 2024
a2cfa9e
Added InternalBlockExecutionError to execute.rs exports (#11525)
debjit-bw Oct 8, 2024
3765dbe
docs(exex): include code for ExEx book from real files (#11545)
shekhirin Oct 8, 2024
4163835
fix: actually configure the custom gas limit (#11565)
mattsse Oct 8, 2024
cb431f1
chore: relax trait bound for `EthTransactions` (#11571)
onbjerg Oct 8, 2024
65e6683
fix(provider): fix sub overflow on `tx_range` queries for empty block…
joshieDo Oct 8, 2024
67db43d
chore(provider): add more test coverage on `BlockchainProvider` non-…
joshieDo Oct 8, 2024
946f1a4
feat: adding a new method to network config builder (#11569)
loocapro Oct 8, 2024
c32d4c3
chore: rm unused optimism feature from engine api (#11577)
mattsse Oct 8, 2024
c13ab7a
chore: replace some revm deps (#11579)
mattsse Oct 8, 2024
c61ae13
chore: rm bad cap function (#11562)
mattsse Oct 8, 2024
e18b0ba
feat: impl `Encodable2718` and `Decodable2718` for `PooledTransaction…
klkvr Oct 8, 2024
b09734a
fix(exex): exhaust backfill job when using a stream (#11578)
shekhirin Oct 8, 2024
fda6e35
fix: in-memory trie updates pruning (#11580)
klkvr Oct 8, 2024
10eb1e8
chore(providers): test race condition on all `BlockchainProvider2` ma…
joshieDo Oct 8, 2024
f332f71
chore: also derive arb for test (#11588)
mattsse Oct 8, 2024
6917b12
chore: bump alloy primitives 0 8 7 (#11586)
mattsse Oct 8, 2024
95913cb
chore(ci): remove expected failures related to checksummed addresses …
fgimenez Oct 8, 2024
f7c7629
chore(rpc): use `block_hash` instead on fetching `debug_trace_block` …
joshieDo Oct 8, 2024
f5f7620
feat: add mul support for SubPoolLimit (#11591)
mattsse Oct 8, 2024
e427eb2
docs: delete missing part path (#11590)
devthejohn Oct 8, 2024
3141f6d
fix: simplify reorg handling (#11592)
klkvr Oct 9, 2024
1e1de3d
fix: use original bytes for codes (#11593)
mattsse Oct 9, 2024
6295459
perf(rpc): use `Arc<BlockWithSenders` on `full_block_cache` (#11585)
joshieDo Oct 9, 2024
d5372a7
fix: active inflight count (#11598)
mattsse Oct 9, 2024
570c1df
fix(net): max inflight tx reqs default (#11602)
emhane Oct 9, 2024
8ba7bc0
fix: set deposit gasprice correctly (#11603)
mattsse Oct 9, 2024
3c4a94f
fix: set system tx correctly (#11601)
mattsse Oct 9, 2024
5ad6484
fix(trie): prefix set extension (#11605)
rkrasiuk Oct 9, 2024
8396209
feat: add tx propagation mode (#11594)
mattsse Oct 9, 2024
67e83b6
feat: add helper function to provde the tx manager config (#11608)
mattsse Oct 9, 2024
f5d6844
fix(grafana): set instance variable from `reth_info` metric (#11607)
shekhirin Oct 9, 2024
fb8bd77
fix(net): add concurrency param from config to `TransactionFetcherInf…
emhane Oct 9, 2024
b787d9e
perf(rpc): optimistically retrieve block if near the tip on `eth_getL…
joshieDo Oct 9, 2024
7c818c1
chore(rpc): use `block_hash` as `BlockId` on `eth_callMany` (#11595)
joshieDo Oct 9, 2024
adf3a0d
fix: 7702 gas fields (#11614)
mattsse Oct 9, 2024
40faed6
fix(witness): destroyed slots as proof targets (#11596)
rkrasiuk Oct 9, 2024
076b1a2
chore: bump op-alloy (#11617)
mattsse Oct 9, 2024
33d5eb3
test: add sanity test for local txs args (#11620)
mattsse Oct 9, 2024
2b97779
fix: persist finalized block (#11623)
mattsse Oct 10, 2024
701f51b
chore(metrics): remove redundant `starting metrics` log (#11621)
Rjected Oct 10, 2024
672e311
chore(ci): disable hive discord alerts (#11625)
fgimenez Oct 10, 2024
a4b8150
fix: actually commit (#11626)
mattsse Oct 10, 2024
58bfa60
feat(evm, trie): more metrics (#11613)
shekhirin Oct 10, 2024
eb9565d
fix: always handle payload building for opstack (#11629)
mattsse Oct 10, 2024
e9a436a
chore(trie): make initialization of in-memory trie cursors `pub` (#11…
rkrasiuk Oct 10, 2024
68f3821
feat(trie): noop hashed cursors (#11627)
rkrasiuk Oct 10, 2024
b50e710
Remove duplicate EngineTypes comment (#11624)
stevencartavia Oct 10, 2024
47c3a48
Broadcast external IP from NAT in enode record (#10274)
cody-wang-cb Oct 10, 2024
01f382b
docs: clarify op-mainnet --debug.tip (#11634)
mattsse Oct 10, 2024
8a11830
feat(ci): add Kurtosis workflow (#11615)
fgimenez Oct 10, 2024
90cb362
feat(exex): commit only notifications with unfinalized blocks to WAL …
shekhirin Oct 10, 2024
456d507
feat(ci): move book clippy and tests to matrix (#11618)
shekhirin Oct 10, 2024
58bac0e
chore: release 1.1.0 (#11640)
mattsse Oct 10, 2024
d027b7b
feat(bin): make experimental engine default (#11612)
shekhirin Oct 10, 2024
1d2c6d5
chore(rpc): don't recover sender if we have it (#11645)
joshieDo Oct 10, 2024
fca1cd8
fix: don't unwrap missing requests (#11646)
mattsse Oct 10, 2024
250785f
chore: preempt single block downloading (#11647)
mattsse Oct 10, 2024
1ba631b
feat: store safe block num as well (#11648)
mattsse Oct 10, 2024
6abcab0
ci: fix windows build and add build-check job (#162)
j75689 Oct 11, 2024
01ee568
feat: add step size check for bsc stage sync (#151)
pythonberg1997 Oct 11, 2024
ab8db91
Merge tag 'v1.1.0' into merge-v1.1.0
yutianwu Oct 11, 2024
e1c8689
chore: resolve merge conflicts
pythonberg1997 Oct 22, 2024
8498a79
Merge remote-tracking branch 'origin/develop' into merge-v1.1.0
pythonberg1997 Oct 22, 2024
5684f0b
ci: fix build check job
pythonberg1997 Oct 22, 2024
5ce1e71
consensus: update bsc validation methods
pythonberg1997 Oct 23, 2024
819f149
Merge pull request #163 from bnb-chain/merge-v1.1.0
unclezoro Oct 24, 2024
b491a08
fix: fix the dockerfile of Optimism (#168)
yutianwu Oct 24, 2024
9bc713b
fix: fix typo in Makefile (#171)
pythonberg1997 Oct 25, 2024
fda577b
fix: do removing sidecars in `remove_blocks_above` (#169)
pythonberg1997 Oct 25, 2024
80317a4
feat: enable prefetch on the new engine (#164)
keefel Oct 25, 2024
df87156
feat: state cache for execution (#153)
forcodedancing Oct 25, 2024
77d842b
chore: update changelog for v1.0.6 (#172)
forcodedancing Oct 25, 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/assets/check_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,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 @@ -51,8 +50,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 All @@ -68,6 +68,7 @@ exclude_crates=(
reth-rpc-types
reth-stages
reth-storage-errors
reth-engine-local
# The following are not supposed to be working
reth # all of the crates below
reth-invalid-block-hooks # reth-provider
Expand Down
3 changes: 1 addition & 2 deletions .github/assets/hive/expected_failures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ rpc-compat:
- eth_getBlockByNumber/get-genesis (reth)
- eth_getBlockByNumber/get-latest (reth)
- eth_getBlockByNumber/get-safe (reth)
- eth_sendRawTransaction/send-blob-tx (reth)

# https://github.com/paradigmxyz/reth/issues/8732
# https://github.com/paradigmxyz/reth/issues/8732
engine-withdrawals:
- Withdrawals Fork On Genesis (Paris) (reth)
- Withdrawals Fork on Block 1 (Paris) (reth)
Expand Down
1 change: 0 additions & 1 deletion .github/assets/hive/expected_failures_experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ rpc-compat:
- eth_getBlockByNumber/get-genesis (reth)
- eth_getBlockByNumber/get-latest (reth)
- eth_getBlockByNumber/get-safe (reth)
- eth_sendRawTransaction/send-blob-tx (reth)

# https://github.com/paradigmxyz/reth/issues/8732
engine-withdrawals:
Expand Down
15 changes: 15 additions & 0 deletions .github/assets/kurtosis_network_params.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
participants:
- el_type: geth
cl_type: lighthouse
- el_type: reth
el_extra_params:
- --engine.experimental
el_image: "ghcr.io/paradigmxyz/reth:kurtosis-ci"
cl_type: teku
additional_services:
- assertoor
assertoor_params:
run_block_proposal_check: true
run_transaction_test: true
run_blob_transaction_test: true
run_opcodes_transaction_test: true
8 changes: 6 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Runs benchmarks.
# Runs benchmarks on serialization/deserialization of storage values and keys.

on:
pull_request:
Expand All @@ -11,6 +11,7 @@ env:
BASELINE: base
IAI_CALLGRIND_RUNNER: iai-callgrind-runner
TOOL_CHAIN: "1.81"
TOOL_CHAIN_NIGHTLY: "nightly-2024-09-09"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -29,7 +30,7 @@ jobs:
run: sudo apt update && sudo apt install valgrind
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.TOOL_CHAIN }}
toolchain: ${{ env.TOOL_CHAIN_NIGHTLY }}
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand All @@ -51,13 +52,16 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref || 'main' }}
# On `main` branch, generates test vectors and serializes them to disk using `serde-json`.
- name: Generate test vectors
run: cargo run --bin reth --features dev -- test-vectors tables
# Runs iai and stores `main` baseline report for comparison later on $BASELINE.
- name: Save baseline
run: cargo bench -p reth-db --bench iai --profile profiling --features test-utils -- --save-baseline=$BASELINE
- name: Checkout PR
uses: actions/checkout@v4
with:
clean: false
# Runs iai on incoming merge using previously generated test-vectors and compares the report against `main` report.
- name: Compare PR benchmarks
run: cargo bench -p reth-db --bench iai --profile profiling --features test-utils -- --baseline=$BASELINE
68 changes: 68 additions & 0 deletions .github/workflows/build-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: build-check

on:
pull_request:
branches: [ main, develop ]

env:
CARGO_TERM_COLOR: always
TOOL_CHAIN: "1.81"
TOOL_CHAIN_NIGHTLY: "nightly-2024-09-09"

jobs:
extract-version:
name: extract version
runs-on: ubuntu-latest
steps:
- name: Extract version
run: echo "VERSION=$(echo ${GITHUB_REF#refs/tags/})" >> $GITHUB_OUTPUT
id: extract_version
outputs:
VERSION: ${{ steps.extract_version.outputs.VERSION }}

build:
name: build release
runs-on: ${{ matrix.configs.os }}
needs: extract-version
strategy:
matrix:
configs:
- target: x86_64-unknown-linux-gnu
os: ubuntu-20.04
profile: maxperf
- target: aarch64-unknown-linux-gnu
os: ubuntu-20.04
profile: maxperf
- target: x86_64-apple-darwin
os: macos-13
profile: maxperf
- target: aarch64-apple-darwin
os: macos-14
profile: maxperf
- target: x86_64-pc-windows-gnu
os: ubuntu-20.04
profile: maxperf
build:
- command: op-build
binary: op-reth
- command: bsc-build
binary: bsc-reth
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: ${{ matrix.configs.target }}
toolchain: ${{ env.TOOL_CHAIN_NIGHTLY }}
- uses: taiki-e/install-action@cross
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

- name: Apple M1 setup
if: matrix.configs.target == 'aarch64-apple-darwin'
run: |
echo "SDKROOT=$(xcrun -sdk macosx --show-sdk-path)" >> $GITHUB_ENV
echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx --show-sdk-platform-version)" >> $GITHUB_ENV

- name: Build Reth
run: make PROFILE=${{ matrix.configs.profile }} ${{ matrix.build.command }}-${{ matrix.configs.target }}
4 changes: 4 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ env:
OP_DOCKER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/op-reth
BSC_DOCKER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/bsc-reth
DOCKER_USERNAME: ${{ github.actor }}
TOOL_CHAIN: "1.81"
TOOL_CHAIN_NIGHTLY: "nightly-2024-09-09"

jobs:
build:
Expand All @@ -29,6 +31,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.TOOL_CHAIN_NIGHTLY }}
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/eth-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:

env:
CARGO_TERM_COLOR: always
TOOL_CHAIN: "1.81"
TOOL_CHAIN_NIGHTLY: "nightly-2024-09-09"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -29,6 +31,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.TOOL_CHAIN_NIGHTLY }}
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/hive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:

env:
CARGO_TERM_COLOR: always
TOOL_CHAIN: "1.81"
TOOL_CHAIN_NIGHTLY: "nightly-2024-09-09"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -25,6 +27,8 @@ jobs:
- uses: actions/checkout@v4
- run: mkdir artifacts
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.TOOL_CHAIN_NIGHTLY }}
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand Down Expand Up @@ -259,8 +263,9 @@ jobs:
runs-on:
group: Reth
steps:
- name: Discord Webhook Action
uses: tsickert/[email protected]
with:
webhook-url: ${{ secrets.RETH_ALERTS_WEBHOOK }}
content: "Failed run: https://github.com/paradigmxyz/reth/actions/runs/${{ github.run_id }}"
- name: Slack Webhook Action
uses: rtCamp/action-slack-notify@v2
env:
SLACK_COLOR: ${{ job.status }}
SLACK_MESSAGE: "Failed run: https://github.com/paradigmxyz/reth/actions/runs/${{ github.run_id }}"
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
7 changes: 4 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
CARGO_TERM_COLOR: always
SEED: rustethereumethereumrust
TOOL_CHAIN: "1.81"
TOOL_CHAIN_NIGHTLY: "nightly-2024-09-09"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -38,7 +39,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.TOOL_CHAIN }}
toolchain: ${{ env.TOOL_CHAIN_NIGHTLY }}
- name: Install Geth
run: .github/assets/install_geth.sh
- uses: taiki-e/install-action@nextest
Expand All @@ -56,12 +57,12 @@ jobs:
name: Run tests
run: |
cargo nextest run \
--locked -p reth-node-optimism --features "optimism ${{ matrix.extra-features }}"
--locked -p reth-optimism-node --features "optimism ${{ matrix.extra-features }}"
- if: matrix.network == 'bsc'
name: Run tests
run: |
cargo nextest run \
--locked -p reth-node-bsc --features "bsc ${{ matrix.extra-features }}" \
--locked -p reth-bsc-node --features "bsc ${{ matrix.extra-features }}" \
-E "kind(test)"

integration-success:
Expand Down
99 changes: 99 additions & 0 deletions .github/workflows/kurtosis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# Runs `assertoor` tests on a `kurtosis` testnet.

name: kurtosis

on:
workflow_dispatch:
schedule:
# every day
- cron: "0 1 * * *"

env:
CARGO_TERM_COLOR: always
TOOL_CHAIN: "1.81"
TOOL_CHAIN_NIGHTLY: "nightly-2024-09-09"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
prepare-reth:
if: github.repository == 'paradigmxyz/reth'
timeout-minutes: 45
runs-on:
group: Reth
steps:
- uses: actions/checkout@v4
- run: mkdir artifacts
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.TOOL_CHAIN_NIGHTLY }}
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Build reth
run: |
cargo build --features asm-keccak --profile hivetests --bin reth --locked
mkdir dist && cp ./target/hivetests/reth ./dist/reth
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and export reth image
uses: docker/build-push-action@v6
with:
context: .
file: .github/assets/hive/Dockerfile
tags: ghcr.io/paradigmxyz/reth:kurtosis-ci
outputs: type=docker,dest=./artifacts/reth_image.tar
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Upload reth image
uses: actions/upload-artifact@v4
with:
name: artifacts
path: ./artifacts

test:
timeout-minutes: 60
strategy:
fail-fast: false
name: run kurtosis
runs-on:
group: Reth
needs:
- prepare-reth
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Download reth image
uses: actions/download-artifact@v4
with:
name: artifacts
path: /tmp

- name: Load Docker image
run: |
docker load -i /tmp/reth_image.tar &
wait
docker image ls -a

- name: Run kurtosis
uses: ethpandaops/kurtosis-assertoor-github-action@v1
with:
ethereum_package_args: '.github/assets/kurtosis_network_params.yaml'

notify-on-error:
needs: test
if: failure()
runs-on:
group: Reth
steps:
- name: Slack Webhook Action
uses: rtCamp/action-slack-notify@v2
env:
SLACK_COLOR: ${{ job.status }}
SLACK_MESSAGE: "Failed run: https://github.com/paradigmxyz/reth/actions/runs/${{ github.run_id }}"
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
Loading