Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
597 commits
Select commit Hold shift + click to select a range
8327cbd
feat: introduced configurable version globals (paradigmxyz/reth#17711)
Rimeeeeee Aug 13, 2025
97baedb
chore: use receipt.into_logs instead of log.to_vec to reduce the unne…
SarahADavis Aug 13, 2025
f965313
fix: typo initialise to initialize (paradigmxyz/reth#17851)
JackDrogon Aug 13, 2025
f04c29d
feat(txpool): Batch insertions into the Tx Pool (paradigmxyz/reth#17670)
0xKitsune Aug 13, 2025
8c820bc
feat(rpc): Add support for custom Tokio runtime configuration in Ethe…
mablr Aug 14, 2025
77664ec
feat(rpc): Add `RpcTxConverter` to allow for providing custom convert…
RomanHodulak Aug 14, 2025
be34440
feat(rpc): add configurable pending block behaviour (paradigmxyz/reth…
shiyasmohd Aug 15, 2025
9c3f1a5
refactor: remove StateCommitment trait (paradigmxyz/reth#17812)
robinsdan Aug 18, 2025
af50a8f
fix(optimism): correct string formatting in error message (paradigmxy…
bendanzhentan Aug 19, 2025
60f48c4
chore: activate pool if node (paradigmxyz/reth#17950)
mattsse Aug 20, 2025
3bf0fe6
feat(optimism): add supervisor_revalidation_duration_seconds metrics …
SarahADavis Aug 20, 2025
b56ccd9
fix(optimism): add debug_traceTransaction support for pre-bedrock blo…
fgimenez Aug 21, 2025
05d03a4
feat(rpc): Use pool-based pending block for pending state over latest…
RomanHodulak Aug 21, 2025
9a23c67
feat(optimism): Add new `reth-optimism-flashblocks` crate (paradigmxy…
RomanHodulak Aug 21, 2025
c0ef3f6
feat(optimism): Add `FlashBlock` payload schema (paradigmxyz/reth#17984)
RomanHodulak Aug 21, 2025
3487b2d
feat(optimism): Add `FlashBlockWsStream` for streaming flashblocks fr…
RomanHodulak Aug 21, 2025
e8288f2
fix: remove unused base_fee_params_at_block function (paradigmxyz/ret…
leniram159 Aug 22, 2025
4146fa8
feat: add CLI support for TransactionPropagationMode in NetworkArgs (…
dharmvr1 Aug 23, 2025
88f12bf
chore: apply spelling and typo fixes (paradigmxyz/reth#18041)
mattsse Aug 25, 2025
bf0b633
feat: bump jsonrpsee to v0.26.0 (paradigmxyz/reth#17901)
avorylli Aug 25, 2025
537e80c
feat(optimism): Add `FlashBlockService` that builds blocks from `Flas…
RomanHodulak Aug 25, 2025
2181b95
chore: relax EngineValidatorAddOn impl (paradigmxyz/reth#18052)
mattsse Aug 25, 2025
ac9d221
feat(optimism): Wrap incoming stream item in `Result` for compatibili…
RomanHodulak Aug 26, 2025
a5e1423
feat(optimism): Add constructors to `FlashBlockService` and `FlashBlo…
RomanHodulak Aug 26, 2025
1111965
refactor(rpc): add `TxEnv` converter to `RpcCoverter` (paradigmxyz/re…
lean-apple Aug 26, 2025
d9f6117
feat(optimism): Add `launch_wss_flashblocks_service` function spawnin…
RomanHodulak Aug 26, 2025
90d62ad
feat(optimism): Change `FlashBlockService` output `ExecutedBlock` => …
RomanHodulak Aug 26, 2025
aa3fcbe
feat(optimism): Launch `FlashBlockService` when websocket URL is prov…
RomanHodulak Aug 27, 2025
d2bda78
feat: add NoopNetwork example (paradigmxyz/reth#18093)
mattsse Aug 27, 2025
ffa7137
feat(optimism): Add `flashblocks_url` as part of rollup args of the `…
RomanHodulak Aug 27, 2025
1160c9c
feat(optimism): Implement conversion of `ExecutionPayloadBaseV1` into…
RomanHodulak Aug 27, 2025
c04f551
feat(optimism): Remove builder of next block environment from `FlashB…
RomanHodulak Aug 27, 2025
a4ec1c5
chore(reth-optimism-cli): use OpTypedTransaction::eip2718_encode (par…
nkysg Aug 27, 2025
e3e8b00
fix(optimism): Prevent old pending flashblock from being returned fro…
RomanHodulak Aug 28, 2025
43aba3b
fix(optimism): Fix endless poll on the FlashBlockService (paradigmxyz…
0xMelkor Aug 28, 2025
715dca6
fix(optimism): Verify that flashblocks are not old according to canon…
RomanHodulak Aug 28, 2025
194bd18
fix(optimism): Fail if latest and base flashblock parent are differen…
RomanHodulak Aug 28, 2025
a51c5d3
refactor: merge `EthTransactionValidator` and `EthTransactionValidato…
klkvr Aug 28, 2025
a49289a
docs(op): op chains don't require deposit contracts, so as dev chain …
schoentgenaa Aug 28, 2025
40d322b
feat: generalize impl EngineValidatorAddOn for OpAddOns (paradigmxyz/…
0xForerunner Aug 29, 2025
88be421
chore(reth-optimism-storage): small refactor code (paradigmxyz/reth#1…
nkysg Aug 29, 2025
9d7d1b6
feat(optimism): add FlashblocksRx getter (paradigmxyz/reth#18155)
mempirate Aug 29, 2025
ee25664
perf(optimism): Pass noop provider to skip state root calculations fo…
RomanHodulak Aug 29, 2025
db7a334
chore: Add 0x prefix and use macro (paradigmxyz/reth#18156)
quantix9 Aug 29, 2025
91c011e
fix(optimism): find fb attrs in base fb (paradigmxyz/reth#18164)
julio4 Aug 29, 2025
f7a61c1
perf(optimism): use cached db in `FlashblockService` (paradigmxyz/ret…
julio4 Sep 1, 2025
290f006
refactor(optimism): Extract responsibility to connect to a flashblock…
RomanHodulak Sep 1, 2025
4d368b2
test(optimism): Cover successful decoding of websocket messages in `W…
RomanHodulak Sep 1, 2025
ee5e559
test(optimism): Cover the failure case of decoding a non-binary messa…
RomanHodulak Sep 1, 2025
f3e0c12
test(optimism): Cover the case of stream returning errors in `WsFlash…
RomanHodulak Sep 1, 2025
cd6a64b
test(optimism): Cover the case of repeatedly failing to connect to we…
RomanHodulak Sep 1, 2025
713ea0b
test(optimism): Test that streaming flashblocks from remote source is…
RomanHodulak Sep 1, 2025
effe4be
chore: simplify flashblocks poll logic (paradigmxyz/reth#18194)
mattsse Sep 1, 2025
0986212
perf: prepare flashblock txs (paradigmxyz/reth#18201)
mattsse Sep 1, 2025
8acdcd7
fix: spawn flashblocks service as blocking (paradigmxyz/reth#18214)
mattsse Sep 2, 2025
e74839b
fix(optimism): Prevent repeated executions of current flashblock sequ…
RomanHodulak Sep 2, 2025
a06e4a5
test(optimism): Test that sequence stops before a gap (paradigmxyz/re…
RomanHodulak Sep 2, 2025
572a974
feat(optimism): Warn if `FlashBlockService` has stopped (paradigmxyz/…
RomanHodulak Sep 2, 2025
cb34684
chore: improve flashblock logs (paradigmxyz/reth#18232)
mattsse Sep 2, 2025
63816a0
fix: filter zero storage values when computing withdrawals root in ge…
asdv23 Sep 3, 2025
3679396
perf(reth-optimism-flashblocks): rm redundant clone (paradigmxyz/reth…
nkysg Sep 3, 2025
7be62b0
feat(optimism): Respond to ping messages with pong in `WsFlashBlockSt…
RomanHodulak Sep 3, 2025
440d211
test(optimism): Test that `WsFlashBlockStream` pongs a ping (paradigm…
RomanHodulak Sep 3, 2025
94540c4
fix(optimism): Compare parent hash and latest hash to invalidate cach…
RomanHodulak Sep 3, 2025
0535ca9
feat(optimism): Decode text messages in `WsFlashBlockStream` (paradig…
RomanHodulak Sep 4, 2025
411e5d0
feat(optimism): Respond to close messages in `WsFlashBlockStream` (pa…
RomanHodulak Sep 4, 2025
4cae1f2
fix(optimism): Reconnect if ws stream ends in `WsFlashBlockStream` (p…
RomanHodulak Sep 4, 2025
11f34d7
test(optimism): Test that UTF-8 encoded messages are received in `WsF…
RomanHodulak Sep 4, 2025
835b0ed
chore: delist unused deps with `cargo-machete` (paradigmxyz/reth#18259)
hai-rise Sep 5, 2025
5e11437
test(optimism): Test that close message is responded to in `WsFlashBl…
RomanHodulak Sep 5, 2025
0c0ea63
chore: fix various typos in comments and documentation (paradigmxyz/r…
mattsse Sep 6, 2025
e6128fe
chore: clippy happy (paradigmxyz/reth#18310)
mattsse Sep 6, 2025
5e2dd97
refactor(optimism): Extract pending block building responsibility out…
RomanHodulak Sep 8, 2025
e999c77
feat(optimism): flashblock completed sequences (paradigmxyz/reth#18272)
julio4 Sep 8, 2025
986ce49
feat(op-reth/flashblocks): subscribe to the flashblock sequences prod…
theochap Sep 9, 2025
0dc0e59
feat: support customizable RPC namespace parsers (paradigmxyz/reth#18…
klkvr Sep 9, 2025
4df7186
feat(op-sdk): custom precompiles (paradigmxyz/reth#18350)
emhane Sep 9, 2025
bf35ea6
refactor!: more type-safety in cli (paradigmxyz/reth#18375)
klkvr Sep 11, 2025
47d017e
feat: replace PendingBlockAndReceipts tuple with dedicated struct (pa…
stevencartavia Sep 11, 2025
45cffb5
chore: use decode_2718_exact for recover raw txs (paradigmxyz/reth#18…
leniram159 Sep 12, 2025
9932a0e
chore: move and rename PendingBlockAndReceipts to BlockAndReceipts (p…
stevencartavia Sep 14, 2025
9309141
feat(op-reth): specialize get_transaction_receipt to check pending fl…
Nathy-bajo Sep 16, 2025
56af878
chore: update superchain commit (paradigmxyz/reth#18481)
mattsse Sep 16, 2025
898bca0
feat: more flexible rpc receipts (paradigmxyz/reth#18501)
klkvr Sep 16, 2025
084f5d1
feat(op/jovian): implement min base fee in op-reth. bump alloy, alloy…
theochap Sep 17, 2025
691df8b
feat(optimism): Implement `local_pending_state` for RPC that uses `pe…
RomanHodulak Sep 17, 2025
18a3af9
feat: relax `OpEngineValidatorBuilder` for more custom payload types …
hai-rise Sep 17, 2025
c1aa1f4
refactor(evm): Replace `revm_spec*` functions with `alloy-evm` and `a…
RomanHodulak Sep 17, 2025
5a06fb9
fix(rpc): use flashblock when preparing tx response on gettxreceipt (…
mablr Sep 17, 2025
b13dc21
refactor: EmptyBodyStorage block reader logic (paradigmxyz/reth#18508)
dharmvr1 Sep 17, 2025
1630f0b
feat(op-reth): initial setup FlashBlockConsensusClient engine sidecar…
julio4 Sep 18, 2025
c725d19
feat(rpc): Add `convert_receipt_with_block` method to `ReceiptConvert…
RomanHodulak Sep 18, 2025
c558c0a
fix(optimism): always enable interop maintenance task if activated (p…
SarahADavis Sep 19, 2025
9b907aa
feat(rpc): make send_raw_transaction_sync timeout configurable (parad…
WilliamNwoke Sep 20, 2025
f16249f
fix: replace tx_hash method with TxHashRef trait bound (paradigmxyz/r…
eeemmmmmm Sep 22, 2025
7eb2f3b
chore: Remove `reth recover storage-tries` sub-command (paradigmxyz/r…
mediocregopher Sep 22, 2025
133fe90
chore: specialize `send_raw_transaction_sync` for op-reth with flashb…
Peponks9 Sep 22, 2025
fb0ca30
refactor: simplify `EthApiSpeс` trait (paradigmxyz/reth#18674)
klkvr Sep 24, 2025
a677dbb
feat: node import support importing gzip compressed file (paradigmxyz…
tmelhao Sep 24, 2025
6edbc1c
feat(flashblocks): prefill cache on canonical tip updates (paradigmxy…
Peponks9 Sep 25, 2025
aa2a941
chore(flashblocks): flasblock service metrics (paradigmxyz/reth#18697)
dustinjake Sep 25, 2025
fa65118
chore: bump rust to edition 2024 (paradigmxyz/reth#18692)
yongkangc Sep 25, 2025
7d9c6ab
feat: make more EVM and RPC conversions fallible (paradigmxyz/reth#18…
mablr Sep 26, 2025
dfa03aa
chore: remove doc_auto_cfg feature (paradigmxyz/reth#18758)
mattsse Sep 28, 2025
db532c0
chore(deps): weekly `cargo update` (paradigmxyz/reth#18757)
github-actions[bot] Sep 28, 2025
60de31f
feat(storage): write headers and transactions only to static files (p…
shekhirin Sep 29, 2025
f45a136
feat(flashblocks): additional pending flashblock data (paradigmxyz/re…
dustinjake Sep 30, 2025
1a0ca15
feat(op-reth): custom FlashBlock decoder from bytes (paradigmxyz/reth…
0xMelkor Sep 30, 2025
7de01a4
fix(op-reth): forward pre-bedrock transaction RPC calls to historical…
fgimenez Sep 30, 2025
aa3ffc6
feat(op-reth): add optional state root calc for flashblocks (paradigm…
julio4 Oct 1, 2025
8462f70
feat: integrate `EvmEnv` helpers (paradigmxyz/reth#18817)
klkvr Oct 2, 2025
0a6168a
feat(flashblocks): relax Sync bounds on Sink and connect futures (par…
MozirDmitriy Oct 2, 2025
ca1f2b2
feat(evm): Make `ConfigureEngineEvm` methods faillible (paradigmxyz/r…
mablr Oct 2, 2025
2d25dc6
feat: wait for new blocks when build is in progress (paradigmxyz/reth…
lean-apple Oct 9, 2025
47e524c
chore(rpc): Moves `SequencerMetrics` into `reth-optimism-rpc` (paradi…
emhane Oct 13, 2025
8b95b2b
chore(rpc): Remove redundant U256::from in suggested_priority_fee (pa…
Forostovec Oct 13, 2025
1eb09d7
feat(cli): enable traces export via `tracing-otlp` cli arg (paradigmx…
lean-apple Oct 13, 2025
dee1bbd
feat: allow otlp level to be configurable (paradigmxyz/reth#18981)
stevencartavia Oct 14, 2025
3d0d2df
chore(optimism): remove unnecessary Debug bounds from header generics…
MozirDmitriy Oct 14, 2025
9f32dfa
feat: add pending sequence as pub (paradigmxyz/reth#19022)
loocapro Oct 15, 2025
54f7817
feat: bump revm (paradigmxyz/reth#18999)
klkvr Oct 15, 2025
1328044
feat: use env filter for otlp, respect otel env var (paradigmxyz/reth…
prestwich Oct 15, 2025
da9adca
chore: rename CLI argument `--tracing-otlp-level` to `--tracing-otlp.…
shekhirin Oct 16, 2025
405c124
feat(trie): Merge trie changesets changes into main (paradigmxyz/reth…
mediocregopher Oct 16, 2025
3e1e816
fix(cli): Remove duplicit static file header and transaction append (…
RomanHodulak Oct 17, 2025
31d4f4b
feat: derive dev accounts from mnemonic in dev mode (paradigmxyz/reth…
dharmvr1 Oct 17, 2025
bd5f4a4
feat(cli): Reuse a single StaticFileProducer across file import chunk…
GarmashAlex Oct 18, 2025
686c46c
chore(deps): weekly `cargo update` (paradigmxyz/reth#19126)
github-actions[bot] Oct 19, 2025
223915c
fix: Add support for init-state for op-reth chains that are not op-ma…
kahuang Oct 20, 2025
72e3289
refactor: remove `FullNodePrimitives` (paradigmxyz/reth#19176)
klkvr Oct 21, 2025
e4248cf
chore: swap order for canon stream (paradigmxyz/reth#19242)
mattsse Oct 22, 2025
12038f5
feat(jovian): track da footprint block limit. Update basefee calculat…
theochap Oct 22, 2025
6303247
feat(otlp-tracing): enable to export traces with grpc export with `tr…
lean-apple Oct 23, 2025
525a460
fix: no_std compatibility in reth-optimism-chainspec (paradigmxyz/ret…
strmfos Oct 24, 2025
cc71f90
fix(optimism): guard follow-up inserts by payload_id to prevent mixed…
Galoretka Oct 24, 2025
9e0ed10
chore: remove dead OpL1BlockInfo.number field and writes (paradigmxyz…
phrwlk Oct 27, 2025
5c6a7a9
feat(jovian/block-validation): fix block validation for jovian (parad…
theochap Oct 27, 2025
a2bc5ad
feat(reth-optimism-node): Add OP E2E mineblock test with isthmus acti…
mablr Oct 28, 2025
1cd5d94
fix(op-reth/consensus): fixes header validation for jovian. decouple …
theochap Oct 29, 2025
32367c4
feat(jovian/timestamps): add jovian timestamps to op-reth (paradigmxy…
theochap Oct 29, 2025
c43f500
feat(precompiles/jovian): add jovian precompiles to op-reth (paradigm…
theochap Oct 29, 2025
b1ac0d1
feat(jovian/rpc): update receipts to transmit over RPC with Jovian co…
theochap Oct 29, 2025
96268ad
chore: fix unused warning (paradigmxyz/reth#19395)
mattsse Oct 29, 2025
5a11d3d
fix: accurate build features reporting in `reth --version` (paradigmx…
leniram159 Oct 30, 2025
57ddaf9
feat: add --rpc.evm-memory-limit flag (paradigmxyz/reth#19279)
wojtek0x Oct 30, 2025
b1bd0cd
chore: update superchain reg to c9881d543174ff00b8f3a9ad3f31bf4630b97…
0xForerunner Oct 31, 2025
531d210
feat(op-reth): implement miner_setGasLimit RPC (paradigmxyz/reth#19247)
frankudoags Oct 31, 2025
363645c
fix: avoid unnecessary self.clone() in OpNetworkBuilder::network_conf…
sashass1315 Nov 3, 2025
3a49bbc
feat(op-reth): add FlashblocksListeners container and receipt helpers…
mattsse Nov 3, 2025
f1dac63
feat: add broadcast channel for received flashblocks (paradigmxyz/ret…
mattsse Nov 3, 2025
2de42a6
chore: use name const for cli name (paradigmxyz/reth#19466)
mattsse Nov 3, 2025
9067056
chore: bump revm 31 (paradigmxyz/reth#19470)
mattsse Nov 3, 2025
18b4cc9
chore: add js-tracer feature to bins (paradigmxyz/reth#19441)
mattsse Nov 3, 2025
49bc710
perf(rpc): use cache for latest block and receipts (paradigmxyz/reth#…
mattsse Nov 4, 2025
20380e2
perf: use latest hash directly (paradigmxyz/reth#19486)
mattsse Nov 4, 2025
75e63a8
chore(op-reth/scr): update superchain-registry configs. Commit 9e3f71…
theochap Nov 4, 2025
7789276
perf: improve ethsendrawsync for op with flashblock (paradigmxyz/reth…
mattsse Nov 4, 2025
95988b4
chore: bump hardforks (paradigmxyz/reth#19506)
mattsse Nov 5, 2025
c90d11c
feat(optimism): Simplify trait bounds in revalidate_interop_txs_strea…
Fibonacci747 Nov 5, 2025
f65d82c
refactor: provide default implementation for send_raw_transaction (pa…
klkvr Nov 6, 2025
2f4f93b
chore: BuiltPayloadExecutedBlock (paradigmxyz/reth#19430)
mediocregopher Nov 7, 2025
ddfb4cb
fix(chainspec): use correct Jovian timestamp constant for Base Sepoli…
hawkadrian Nov 9, 2025
e3eac64
chore(deps): weekly `cargo update` (paradigmxyz/reth#19607)
github-actions[bot] Nov 9, 2025
6ab7be7
chore: add feature propagation to sdk (paradigmxyz/reth#19627)
mattsse Nov 10, 2025
dba7615
feat(bench-compare): add OTLP tracing support for baseline/feature co…
yongkangc Nov 11, 2025
38a1bcf
feat(cli): log warning if otlp feature is not enabled (paradigmxyz/re…
shekhirin Nov 11, 2025
0c00ff9
chore: add target: flashblock for all flashblock related traces (para…
salman01zp Nov 12, 2025
199f5c7
refactor(flashblock): Move all flashblocks related data structure to …
Nov 12, 2025
4582562
chore: make `extra_data_size_limit` configurable in `EthBeaconConsens…
Peponks9 Nov 12, 2025
44c424c
feat(op-rpc): support batch rpc calls in historical forwarding (parad…
reject-i Nov 12, 2025
6409766
refactor(rpc-convert): move rpc conversion traits/impls to alloy-evm …
mablr Nov 13, 2025
bea98f9
fix: add minbasefee for jovian attributes (paradigmxyz/reth#19726)
mattsse Nov 14, 2025
cf7ba47
feat(flashblocks): add metrics for current block and index (paradigmx…
reject-i Nov 14, 2025
37bc9d5
feat(flashblock): improve state root calculation condition (paradigmx…
Nov 16, 2025
1716241
chore(op-reth/scr): update superchain-registry (paradigmxyz/reth#19806)
mattsse Nov 17, 2025
6e52c45
fix(net): use external ip for discv5 config (paradigmxyz/reth#19784)
mattsse Nov 17, 2025
a55a1a4
feat: `EthApiError::from_revert` (paradigmxyz/reth#19836)
klkvr Nov 18, 2025
4a81584
perf(engine): return sorted data from compute_trie_input (paradigmxyz…
yongkangc Nov 19, 2025
3e47b68
refactor: tx policy traits (paradigmxyz/reth#19878)
klkvr Nov 20, 2025
8969b03
chore: replace op-reth OpReceipt with op-alloy's (paradigmxyz/reth#19…
stevencartavia Nov 20, 2025
c21746e
refactor: simplify rpc state provider traits (paradigmxyz/reth#19920)
klkvr Nov 23, 2025
342b79b
feat(flashblocks): Cache recent flashblocks (paradigmxyz/reth#19786)
Nov 24, 2025
f13b2e0
feat(flashblock): Enable eth_getTransactionByHash support for flashbl…
Nov 25, 2025
03d6c17
fix: better `RpcConvert` bounds (paradigmxyz/reth#19980)
klkvr Nov 25, 2025
c184212
feat: introduce PayloadValidator::payload_to_block (paradigmxyz/reth#…
stevencartavia Nov 26, 2025
ffd91c2
chore: move CliHeader to primitives traits and rename to HeaderMut (p…
stevencartavia Nov 27, 2025
8d3210d
perf(trie): compute and sort trie inputs async (paradigmxyz/reth#19894)
yongkangc Nov 28, 2025
60f3864
fix: convert headers in `newHeads` (paradigmxyz/reth#20036)
klkvr Nov 28, 2025
ae86e63
chore: add alias for flashblocks-url (paradigmxyz/reth#20093)
mattsse Dec 3, 2025
4c1ac18
chore(optimism): deduplicate ADDRESS_L2_TO_L1_MESSAGE_PASSER (paradig…
zeroprooff Dec 6, 2025
ea1416a
feat: parallelize recovery (paradigmxyz/reth#20169)
klkvr Dec 8, 2025
4a00bc4
chore(deps): bump op-alloy to 0.23.0 (paradigmxyz/reth#20256)
zeroprooff Dec 10, 2025
263838a
chore(optimism): move predeploy constant to op-alloy (paradigmxyz/ret…
zeroprooff Dec 11, 2025
7c543e2
feat: add semaphore for blocking IO requests (paradigmxyz/reth#20289)
mattsse Dec 11, 2025
7eb55c0
feat(storage): add rocksdb provider into database provider (paradigmx…
duyquang6 Dec 15, 2025
84ab886
chore: export `FlashBlockDecoder` (paradigmxyz/reth#20370)
fedemagnani Dec 15, 2025
049a4e5
perf: use indexed parallel iterators for tx recovery (paradigmxyz/ret…
DaniPopes Dec 15, 2025
b415072
refactor(cli): cleanup repair-trie metrics (paradigmxyz/reth#20226)
figtracer Dec 15, 2025
f614cfa
chore: add keccak-global (paradigmxyz/reth#20418)
mattsse Dec 16, 2025
ad413c4
feat: turn on asm-keccak by default, use maxperf profile in Dockerfil…
shekhirin Dec 16, 2025
cb3d3ab
feat: add engine_getBlobsV3 method (paradigmxyz/reth#20451)
0xKarl98 Dec 17, 2025
b91d3e8
feat: support non-zero genesis block numbers (paradigmxyz/reth#19877)
Vui-Chee Dec 17, 2025
f91b0e8
fix: propagate keccak-cache-global feature to reth-node-core (paradig…
shekhirin Dec 19, 2025
5345fe6
chore: remove todo after jovian fork (paradigmxyz/reth#20535)
cuiweixie Dec 20, 2025
a6288f9
feat(cli): add tracing-samply to profiling (paradigmxyz/reth#20546)
yongkangc Dec 21, 2025
e7c3c27
chore(db): Remove Sync from DbTx (paradigmxyz/reth#20516)
mediocregopher Dec 22, 2025
4dab04d
fix(chainspec): use lazy error formatting in chain spec macro (paradi…
oooLowNeoNooo Dec 26, 2025
7648ec2
feat: switch samply feature for CLI flags (paradigmxyz/reth#20586)
DaniPopes Dec 27, 2025
0495d54
feat: optimize send_raw_transaction_sync receipts fetching (paradigmx…
0xKarl98 Jan 5, 2026
781a802
docs: fix doc comment errors (paradigmxyz/reth#20728)
crypomen9 Jan 5, 2026
1158639
docs: fix doc comment errors (paradigmxyz/reth#20746)
crypomen9 Jan 5, 2026
07ff286
feat(optimism): Flashblock Receipts Stream (paradigmxyz/reth#20061)
mablr Jan 5, 2026
3f874f7
feat: make metrics layer configurable (paradigmxyz/reth#20703)
0xKarl98 Jan 5, 2026
d1a9835
docs: fix doc comment errors (paradigmxyz/reth#20776)
crypomen9 Jan 6, 2026
4aed255
feat(metrics): jemalloc heap dump endpoint (paradigmxyz/reth#20811)
shekhirin Jan 7, 2026
0eb525e
chore(consensus): Remove associated type `Consensus::Error` (paradigm…
emhane Jan 8, 2026
34a8cca
feat(optimism): Also require non-zero elasticity in payload attribute…
sebastianst Jan 8, 2026
ebd4c9e
chore(consensus): Add trait object error variant to `ConsensusError` …
emhane Jan 9, 2026
9f5aef8
feat: Add `TrieUpdatesSorted` and `HashedPostStateSorted` in all ExEx…
dhyaniarun1993 Jan 9, 2026
def3fc2
feat: add `edge` feature flag to reth (paradigmxyz/reth#20841)
joshieDo Jan 9, 2026
f09aff8
fix(optimism): add missing Holocene hardfork to DEV_HARDFORKS (paradi…
davidjsonn Jan 11, 2026
40e67c3
feat: add tracing-tracy (paradigmxyz/reth#20958)
DaniPopes Jan 12, 2026
7cd4ae4
chore(test): use `reth_optimism_chainspec::BASE_SEPOLIA` in tests (pa…
emhane Jan 13, 2026
8923327
fix: propagate edge feature to reth-node-core for version output (par…
yongkangc Jan 13, 2026
58ea5ae
fix: propagate keccak-cache-global feature to reth-optimism-cli (para…
ethfanWilliam Jan 14, 2026
9b425c6
feat: Support for sending logs through OTLP (paradigmxyz/reth#21039)
kamsz Jan 14, 2026
3bd1ce1
feat: parallelize `save_blocks` (paradigmxyz/reth#20993)
joshieDo Jan 15, 2026
032471f
feat(trie): in-memory trie changesets (paradigmxyz/reth#20997)
mediocregopher Jan 16, 2026
467661a
feat: stagging revm v34.0.0 (paradigmxyz/reth#20627)
rakita Jan 16, 2026
8c20180
refactor: use `BlockExecutionOutcome` in `ExecutedBlock` (paradigmxyz…
klkvr Jan 16, 2026
6e7c178
feat(consensus): incremental receipt root computation in background t…
mediocregopher Jan 16, 2026
cff368a
perf: make Chain use DeferredTrieData (paradigmxyz/reth#21137)
Rjected Jan 17, 2026
7b0b9d7
revert: undo Chain crate, add LazyTrieData to trie-common (paradigmxy…
mattsse Jan 17, 2026
dc27c21
fix(flashblocks): Add flashblock ws connection retry period (paradigm…
sieniven Jan 19, 2026
0cf8e67
feat: bump alloy and alloy-evm (paradigmxyz/reth#21337)
klkvr Jan 22, 2026
5552387
feat(engine): stub Amsterdam engine API endpoints (newPayloadV5, getP…
mattsse Jan 22, 2026
80da3e5
feat(txpool): add Block associated type to TransactionValidator trait…
klkvr Jan 23, 2026
fbf935a
feat(payload): add fn for system transaction check (paradigmxyz/reth#…
ahsenkamal Jan 25, 2026
e5f5afe
feat: configurable EVM execution limits (paradigmxyz/reth#21088)
rezzmah Jan 26, 2026
3dd3125
chore(op-reth): remove op-reth dependencies from core reth library cr…
theochap Jan 28, 2026
8418b71
feat(cli): add --metrics param to `reth prune` (paradigmxyz/reth#21613)
Rjected Jan 30, 2026
de727d4
chore(op-reth): move op-dependent examples into crates/optimism/examp…
theochap Jan 30, 2026
45fb512
refactor(db): derive Clone for DatabaseEnv (paradigmxyz/reth#21641)
gakonst Jan 30, 2026
5ef6d6b
chore(deps): breaking bumps (paradigmxyz/reth#21584)
DaniPopes Jan 31, 2026
8ae40af
refactor: add with_* compressor utility methods (paradigmxyz/reth#21680)
DaniPopes Feb 1, 2026
d51bead
refactor: use alloy_primitives::map for all HashMap/HashSet types (pa…
gakonst Feb 4, 2026
3204d82
fix: support EIP-1559 params configuration for Optimism dev mode (par…
xzav3r Feb 5, 2026
ebaa0ac
chore(rust/op-reth): update reth to rev 2c5d00f and bump alloy deps
theochap Feb 11, 2026
21b2ac1
chore: fix ci
theochap Feb 11, 2026
6bc39b9
chore: revert chainspec change
theochap Feb 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,220 changes: 632 additions & 588 deletions rust/Cargo.lock

Large diffs are not rendered by default.

234 changes: 117 additions & 117 deletions rust/Cargo.toml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Transform Frames into a Batch

:::info
This example performs the reverse transformation as the [batch-to-frames][batch-to-frames] example.
This example performs the reverse transformation of encoding a batch into frames.
:::

This example walks through transforming [`Frame`][frame]s into the [`Batch`][batch] types.
Expand Down Expand Up @@ -156,7 +156,6 @@ fn example_transactions() -> Vec<Bytes> {
```


[batch-to-frames]: /sdk/examples/batch-to-frames
[frame]: https://docs.rs/kona-protocol/latest/kona_protocol/struct.Frame.html
[batch]: https://docs.rs/kona-protocol/latest/kona_protocol/enum.Batch.html
[channel]: https://docs.rs/kona-protocol/latest/kona_protocol/struct.Channel.html
Expand Down
1 change: 0 additions & 1 deletion rust/kona/docs/docs/pages/sdk/examples/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Examples for working with `kona` crates.

- [Load a Rollup Config for a Chain ID](/sdk/examples/load-a-rollup-config)
- [Transform Frames to a Batch](/sdk/examples/frames-to-batch)
- [Transform a Batch to Frames](/sdk/examples/batch-to-frames)
- [Create a new L1BlockInfoTx Hardfork Variant](/sdk/examples/new-l1-block-info-tx-hardfork)
- [Create a new `kona-executor` test fixture](/sdk/examples/executor-test-fixtures)
- [Configuring P2P Network Peer Scoring](/sdk/examples/p2p-peer-scoring)
Expand Down
1 change: 0 additions & 1 deletion rust/kona/docs/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ export const sidebar: SidebarItem[] = [
{ text: "Introduction", link: "/sdk/examples/intro" },
{ text: "Load a Rollup Config", link: "/sdk/examples/load-a-rollup-config" },
{ text: "Transform Frames to a Batch", link: "/sdk/examples/frames-to-batch" },
{ text: "Transform a Batch into Frames", link: "/sdk/examples/batch-to-frames" },
{ text: "Create a new L1BlockInfoTx Hardfork Variant", link: "/sdk/examples/new-l1-block-info-tx-hardfork" },
{ text: "Create a new kona-executor test fixture", link: "/sdk/examples/executor-test-fixtures" },
{ text: "Configuring P2P Network Peer Scoring", link: "/sdk/examples/p2p-peer-scoring" },
Expand Down
6 changes: 3 additions & 3 deletions rust/op-reth/bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ version = "1.10.2"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage = "https://paradigmxyz.github.io/reth"
repository = "https://github.com/paradigmxyz/reth"
exclude = [".github/"]
homepage.workspace = true
repository.workspace = true
exclude.workspace = true

[dependencies]
reth-cli-util.workspace = true
Expand Down
6 changes: 3 additions & 3 deletions rust/op-reth/crates/cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub use commands::{import::ImportOpCommand, import_receipts::ImportReceiptsOpCom
use reth_optimism_chainspec::OpChainSpec;
use reth_rpc_server_types::{DefaultRpcModuleValidator, RpcModuleValidator};

use std::{ffi::OsString, fmt, marker::PhantomData, sync::Arc};
use std::{ffi::OsString, fmt, marker::PhantomData};

use chainspec::OpChainSpecParser;
use clap::Parser;
Expand Down Expand Up @@ -121,7 +121,7 @@ where
/// [`NodeCommand`](reth_cli_commands::node::NodeCommand).
pub fn run<L, Fut>(self, launcher: L) -> eyre::Result<()>
where
L: FnOnce(WithLaunchContext<NodeBuilder<Arc<DatabaseEnv>, C::ChainSpec>>, Ext) -> Fut,
L: FnOnce(WithLaunchContext<NodeBuilder<DatabaseEnv, C::ChainSpec>>, Ext) -> Fut,
Fut: Future<Output = eyre::Result<()>>,
{
self.with_runner(CliRunner::try_default_runtime()?, launcher)
Expand All @@ -130,7 +130,7 @@ where
/// Execute the configured cli command with the provided [`CliRunner`].
pub fn with_runner<L, Fut>(self, runner: CliRunner, launcher: L) -> eyre::Result<()>
where
L: FnOnce(WithLaunchContext<NodeBuilder<Arc<DatabaseEnv>, C::ChainSpec>>, Ext) -> Fut,
L: FnOnce(WithLaunchContext<NodeBuilder<DatabaseEnv, C::ChainSpec>>, Ext) -> Fut,
Fut: Future<Output = eyre::Result<()>>,
{
let mut this = self.configure();
Expand Down
13 changes: 8 additions & 5 deletions rust/op-reth/crates/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,10 @@ mod tests {
use alloy_consensus::{Header, Receipt};
use alloy_eips::eip7685::Requests;
use alloy_genesis::Genesis;
use alloy_primitives::{Address, B256, LogData, bytes, map::HashMap};
use alloy_primitives::{
Address, B256, LogData, bytes,
map::{AddressMap, B256Map, HashMap},
};
use op_revm::OpSpecId;
use reth_chainspec::ChainSpec;
use reth_evm::execute::ProviderError;
Expand Down Expand Up @@ -588,12 +591,12 @@ mod tests {
);

// Create a BundleStateInit object and insert initial data
let mut state_init: BundleStateInit = HashMap::default();
let mut state_init: BundleStateInit = AddressMap::default();
state_init
.insert(Address::new([2; 20]), (None, Some(Account::default()), HashMap::default()));
.insert(Address::new([2; 20]), (None, Some(Account::default()), B256Map::default()));

// Create a HashMap for account reverts and insert initial data
let mut revert_inner: HashMap<Address, AccountRevertInit> = HashMap::default();
// Create an AddressMap for account reverts and insert initial data
let mut revert_inner: AddressMap<AccountRevertInit> = AddressMap::default();
revert_inner.insert(Address::new([2; 20]), (None, vec![]));

// Create a RevertsInit object and insert the revert_inner data
Expand Down
8 changes: 4 additions & 4 deletions rust/op-reth/crates/flashblocks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "1.10.2"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage = "https://paradigmxyz.github.io/reth"
repository = "https://github.com/paradigmxyz/reth"
homepage.workspace = true
repository.workspace = true

[lints]
workspace = true
Expand Down Expand Up @@ -38,11 +38,11 @@ op-alloy-rpc-types-engine = { workspace = true, features = ["k256"] }

# io
tokio.workspace = true
tokio-tungstenite = { workspace = true, features = ["rustls-tls-native-roots"] }
tokio-tungstenite.workspace = true
serde_json.workspace = true
url.workspace = true
futures-util.workspace = true
brotli = { workspace = true, features = ["std"] }
brotli.workspace = true

# debug
tracing.workspace = true
Expand Down
8 changes: 2 additions & 6 deletions rust/op-reth/crates/flashblocks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ mod payload;
pub use payload::{FlashBlock, PendingFlashBlock};

mod sequence;
pub use sequence::{
FlashBlockCompleteSequence, FlashBlockPendingSequence, SequenceExecutionOutcome,
};
pub use sequence::{FlashBlockCompleteSequence, FlashBlockPendingSequence};

mod service;
pub use service::{FlashBlockBuildInfo, FlashBlockService};
Expand All @@ -32,13 +30,11 @@ mod worker;

mod cache;

pub mod validation;

#[cfg(test)]
mod test_utils;

mod ws;
pub use ws::{FlashBlockDecoder, WsConnect, WsConnector, WsFlashBlockStream};
pub use ws::{FlashBlockDecoder, WsConnect, WsFlashBlockStream};

/// Receiver of the most recent [`PendingFlashBlock`] built out of [`FlashBlock`]s.
///
Expand Down
1 change: 1 addition & 0 deletions rust/op-reth/crates/flashblocks/src/sequence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const FLASHBLOCK_SEQUENCE_CHANNEL_SIZE: usize = 128;

/// Outcome from executing a flashblock sequence.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[allow(unnameable_types)]
pub struct SequenceExecutionOutcome {
/// The block hash of the executed pending block
pub block_hash: B256,
Expand Down
4 changes: 2 additions & 2 deletions rust/op-reth/crates/flashblocks/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ where

let (tx, rx) = oneshot::channel();
let builder = self.builder.clone();
self.spawner.spawn_blocking(Box::pin(async move {
self.spawner.spawn_blocking(move || {
let _ = tx.send(builder.execute(args));
}));
});
self.job = Some((Instant::now(), rx));
}
}
Expand Down
2 changes: 1 addition & 1 deletion rust/op-reth/crates/flashblocks/src/ws/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pub use stream::{WsConnect, WsConnector, WsFlashBlockStream};
pub use stream::{WsConnect, WsFlashBlockStream};

mod decoding;
pub use decoding::FlashBlockDecoder;
Expand Down
1 change: 1 addition & 0 deletions rust/op-reth/crates/flashblocks/src/ws/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ pub trait WsConnect {
///
/// See the [`WsConnect`] documentation for details.
#[derive(Debug, Clone)]
#[allow(unnameable_types)]
pub struct WsConnector;

impl WsConnect for WsConnector {
Expand Down
3 changes: 2 additions & 1 deletion rust/op-reth/crates/flashblocks/tests/it/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ use futures_util::stream::StreamExt;
use reth_optimism_flashblocks::WsFlashBlockStream;

#[tokio::test]
async fn test_online_streaming_flashblocks_from_remote_source_is_successful() {
#[ignore = "depends on external service availability"]
async fn test_streaming_flashblocks_from_remote_source_is_successful() {
let items = 3;
let ws_url = "wss://sepolia.flashblocks.base.org/ws".parse().unwrap();
let stream = WsFlashBlockStream::new(ws_url);
Expand Down
3 changes: 1 addition & 2 deletions rust/op-reth/crates/hardforks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ use reth_ethereum_forks::{ChainHardforks, EthereumHardfork, ForkCondition, Hardf

/// Dev hardforks
pub static DEV_HARDFORKS: LazyLock<ChainHardforks> = LazyLock::new(|| {
const JOVIAN_TIMESTAMP: ForkCondition = ForkCondition::Timestamp(1761840000);
ChainHardforks::new(vec![
(EthereumHardfork::Frontier.boxed(), ForkCondition::Block(0)),
(EthereumHardfork::Homestead.boxed(), ForkCondition::Block(0)),
Expand Down Expand Up @@ -64,7 +63,7 @@ pub static DEV_HARDFORKS: LazyLock<ChainHardforks> = LazyLock::new(|| {
(OpHardfork::Holocene.boxed(), ForkCondition::Timestamp(0)),
(EthereumHardfork::Prague.boxed(), ForkCondition::Timestamp(0)),
(OpHardfork::Isthmus.boxed(), ForkCondition::Timestamp(0)),
(OpHardfork::Jovian.boxed(), JOVIAN_TIMESTAMP),
(OpHardfork::Jovian.boxed(), ForkCondition::Timestamp(0)),
])
});

Expand Down
6 changes: 2 additions & 4 deletions rust/op-reth/crates/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,7 @@ js-tracer = [
"reth-rpc-eth-types/js-tracer",
]
test-utils = [
"reth-codec",
"reth-tasks",
"dep:reth-db-api",
"reth-db-api/op",
"reth-e2e-test-utils",
"alloy-genesis",
"serde_json",
Expand All @@ -132,7 +129,8 @@ test-utils = [
"reth-trie-common/test-utils",
"reth-trie-db/test-utils",
"reth-stages-types/test-utils",
"reth-db-api?/test-utils"
"reth-db-api?/test-utils",
"reth-tasks?/test-utils"
]
reth-codec = ["reth-optimism-primitives/reth-codec"]

Expand Down
6 changes: 4 additions & 2 deletions rust/op-reth/crates/node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]

// Used for feature activation only.
#[cfg(feature = "test-utils")]
#[cfg(feature = "reth-db-api")]
use reth_db_api as _;

/// CLI argument parsing for the optimism node.
Expand Down Expand Up @@ -49,3 +48,6 @@ pub use reth_optimism_storage::OpStorage;

use op_revm as _;
use revm as _;

#[cfg(feature = "test-utils")]
use reth_tasks as _;
32 changes: 18 additions & 14 deletions rust/op-reth/crates/node/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,25 +208,29 @@ impl OpNode {
/// use reth_optimism_chainspec::BASE_MAINNET;
/// use reth_optimism_node::OpNode;
///
/// let factory =
/// OpNode::provider_factory_builder().open_read_only(BASE_MAINNET.clone(), "datadir").unwrap();
/// fn demo(runtime: reth_tasks::Runtime) {
/// let factory = OpNode::provider_factory_builder()
/// .open_read_only(BASE_MAINNET.clone(), "datadir", runtime)
/// .unwrap();
/// }
/// ```
///
/// # Open a Providerfactory manually with all required components
/// # Open a Providerfactory with custom config
///
/// ```no_run
/// use reth_db::open_db_read_only;
/// use reth_optimism_chainspec::OpChainSpecBuilder;
/// use reth_optimism_node::OpNode;
/// use reth_provider::providers::{RocksDBProvider, StaticFileProvider};
/// use std::sync::Arc;
/// use reth_provider::providers::ReadOnlyConfig;
///
/// let factory = OpNode::provider_factory_builder()
/// .db(Arc::new(open_db_read_only("db", Default::default()).unwrap()))
/// .chainspec(OpChainSpecBuilder::base_mainnet().build().into())
/// .static_file(StaticFileProvider::read_only("db/static_files", false).unwrap())
/// .rocksdb_provider(RocksDBProvider::builder("db/rocksdb").build().unwrap())
/// .build_provider_factory();
/// fn demo(runtime: reth_tasks::Runtime) {
/// let factory = OpNode::provider_factory_builder()
/// .open_read_only(
/// OpChainSpecBuilder::base_mainnet().build().into(),
/// ReadOnlyConfig::from_datadir("datadir").no_watch(),
/// runtime,
/// )
/// .unwrap();
/// }
/// ```
pub fn provider_factory_builder() -> ProviderFactoryBuilder<Self> {
ProviderFactoryBuilder::default()
Expand Down Expand Up @@ -1022,7 +1026,7 @@ where
if ctx.chain_spec().is_interop_active_at_timestamp(ctx.head().timestamp) {
// spawn the Op txpool maintenance task
let chain_events = ctx.provider().canonical_state_stream();
ctx.task_executor().spawn_critical(
ctx.task_executor().spawn_critical_task(
"Op txpool interop maintenance task",
reth_optimism_txpool::maintain::maintain_transaction_pool_interop_future(
transaction_pool.clone(),
Expand All @@ -1036,7 +1040,7 @@ where
if self.enable_tx_conditional {
// spawn the Op txpool maintenance task
let chain_events = ctx.provider().canonical_state_stream();
ctx.task_executor().spawn_critical(
ctx.task_executor().spawn_critical_task(
"Op txpool conditional maintenance task",
reth_optimism_txpool::maintain::maintain_transaction_pool_conditional_future(
transaction_pool.clone(),
Expand Down
6 changes: 3 additions & 3 deletions rust/op-reth/crates/node/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
//! use reth_provider::providers::BlockchainProvider;
//! use reth_rpc::TraceApi;
//! use reth_rpc_eth_types::{EthConfig, EthStateCache};
//! use reth_tasks::{TaskManager, pool::BlockingTaskGuard};
//! use reth_tasks::{Runtime, pool::BlockingTaskGuard};
//! use reth_trie_db::ChangesetCache;
//! use std::sync::Arc;
//!
Expand All @@ -32,8 +32,8 @@
//! // build core node with all components disabled except EVM and state
//! let sepolia = NodeConfig::new(OP_SEPOLIA.clone());
//! let db = create_test_rw_db_with_path(sepolia.datadir());
//! let tasks = TaskManager::current();
//! let launch_ctx = LaunchContext::new(tasks.executor(), sepolia.datadir());
//! let runtime = Runtime::with_existing_handle(tokio::runtime::Handle::current()).unwrap();
//! let launch_ctx = LaunchContext::new(runtime, sepolia.datadir());
//! let node = launch_ctx
//! .with_loaded_toml_config(sepolia)
//! .unwrap()
Expand Down
3 changes: 1 addition & 2 deletions rust/op-reth/crates/node/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use reth_node_api::NodeTypesWithDBAdapter;
use reth_optimism_chainspec::OpChainSpecBuilder;
use reth_payload_builder::EthPayloadBuilderAttributes;
use reth_provider::providers::BlockchainProvider;
use reth_tasks::TaskManager;
use std::sync::Arc;
use tokio::sync::Mutex;

Expand All @@ -18,7 +17,7 @@ pub(crate) type OpNode =
NodeHelperType<OtherOpNode, BlockchainProvider<NodeTypesWithDBAdapter<OtherOpNode, TmpDB>>>;

/// Creates the initial setup with `num_nodes` of the node config, started and connected.
pub async fn setup(num_nodes: usize) -> eyre::Result<(Vec<OpNode>, TaskManager, Wallet)> {
pub async fn setup(num_nodes: usize) -> eyre::Result<(Vec<OpNode>, Wallet)> {
let genesis: Genesis =
serde_json::from_str(include_str!("../tests/assets/genesis.json")).unwrap();
reth_e2e_test_utils::setup_engine(
Expand Down
2 changes: 1 addition & 1 deletion rust/op-reth/crates/node/tests/e2e-testsuite/p2p.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use tokio::sync::Mutex;
async fn can_sync() -> eyre::Result<()> {
reth_tracing::init_test_tracing();

let (mut nodes, _tasks, wallet) = setup(3).await?;
let (mut nodes, wallet) = setup(3).await?;
let wallet = Arc::new(Mutex::new(wallet));

let third_node = nodes.pop().unwrap();
Expand Down
15 changes: 6 additions & 9 deletions rust/op-reth/crates/node/tests/it/custom_genesis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,26 @@ async fn test_op_node_custom_genesis_number() {
let wallet = Arc::new(Mutex::new(Wallet::default().with_chain_id(chain_spec.chain().into())));

// Configure and launch the node
let mut config =
NodeConfig::new(chain_spec.clone()).with_unused_ports().with_datadir_args(DatadirArgs {
datadir: reth_db::test_utils::tempdir_path().into(),
..Default::default()
});
config.network.discovery.discv5_port = 0;
config.network.discovery.discv5_port_ipv6 = 0;
let config = NodeConfig::new(chain_spec.clone()).with_datadir_args(DatadirArgs {
datadir: reth_db::test_utils::tempdir_path().into(),
..Default::default()
});
let db = create_test_rw_db_with_path(
config
.datadir
.datadir
.unwrap_or_chain_default(config.chain.chain(), config.datadir.clone())
.db(),
);
let tasks = reth_tasks::TaskManager::current();
let runtime = reth_tasks::Runtime::test();
let node_handle = NodeBuilder::new(config.clone())
.with_database(db)
.with_types_and_provider::<OpNode, BlockchainProvider<_>>()
.with_components(OpNode::default().components())
.with_add_ons(OpNode::new(Default::default()).add_ons())
.launch_with_fn(|builder| {
let launcher = EngineNodeLauncher::new(
tasks.executor(),
runtime.clone(),
builder.config.datadir(),
Default::default(),
);
Expand Down
Loading