Commit Graph

11869 Commits

Author SHA1 Message Date
YK
6636c6bdfc refactor(engine): reorder multiproof.rs for organization (#19314) 2025-10-28 10:44:15 +01:00
Yong Kang
68c6079d3b refactor(trie): reorder proof_task.rs for better code organization
Reorganizes proof_task.rs to follow Rust file organization conventions:
1. Type aliases at top
2. Public enums and structs (ProofResult, ProofWorkerHandle, etc.)
3. Public functions
4. Private/internal types (StorageWorkerJob, AccountWorkerJob)
5. Private functions (worker loops, helpers)

No logic changes - pure code organization for improved readability.
Files are now structured with main public API at the top, making
it easier to understand the module's interface.

Part of #19182
Depends on: #19311
2025-10-27 10:10:14 +00:00
Yong Kang
2ad0725bc1 refactor(trie): introduce ProofResult enum and remove dead code
Introduces a new ProofResult enum that can represent either:
- Account multiproofs with statistics
- Storage proofs for specific accounts

This eliminates unnecessary wrapping/unwrapping of storage proofs and
removes the redundant PendingMultiproofTask/StorageMultiproofInput abstractions.

Changes:
- Introduced ProofResult enum with AccountMultiproof and StorageProof variants
- Added into_multiproof() helper method for conversion when needed
- Updated ProofResultMessage to use Result<ProofResult, ParallelStateRootError>
- Updated all producers (storage/account workers) to return appropriate variants
- Updated all consumers to match on the enum variants
- Removed unused AccountMultiproofResult type alias
- Used unreachable!() for impossible code paths (type safety guarantees)
- Used debug_assert_eq!() for address validation (checked in debug builds)
- Removed PendingMultiproofTask enum (unnecessary wrapper)
- Removed StorageMultiproofInput struct (never constructed in practice)
- Simplified dispatch() to always take MultiproofInput directly
- Removed dispatch_storage_proof() method

Part of #19182
2025-10-27 10:10:02 +00:00
guha-rahul
ded9d3ce33 refactor: add more Snap response types (#19303)
Co-authored-by: suhas-sensei <suhas.ghosal2002@gmail.com>
2025-10-27 10:49:39 +01:00
YK
53119fd5a1 refactor(trie): rename queue_storage_proof to send_storage_proof (#19310) 2025-10-27 10:49:04 +01:00
github-actions[bot]
159ff01cd2 chore(deps): weekly cargo update (#19300)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2025-10-26 16:37:00 +00:00
phrwlk
e22a511764 fix(node): classify connect_async failures as WebSocket and use Url parse error (#19286) 2025-10-25 06:37:22 +00:00
Alexey Shekhirin
0c8417288b feat(tracing): set default OTLP log level to WARN (#19283) 2025-10-24 18:39:08 +00:00
Alexey Shekhirin
25f0d896d9 chore(trie): do not create a parent span for proof worker handle (#19281) 2025-10-24 15:57:51 +00:00
AJStonewee
f177103937 fix(trie): correct comment in sparse_trie_reveal_node_1 test (#19193) 2025-10-24 15:13:12 +00:00
Alexey Shekhirin
dc781126c2 feat(trie): proof task tracing improvements (#19276) 2025-10-24 14:04:01 +00:00
Jennifer
a69bbb3d7b fix: hive tests consume test suite (#19240)
Co-authored-by: Federico Gimenez <federico.gimenez@gmail.com>
2025-10-24 13:50:53 +00:00
YK
f29f4caf0e perf: Eliminate spawn_blocking in multiproof manager (#19203) 2025-10-24 11:56:57 +00:00
Galoretka
b88b46ac1f fix(optimism): guard follow-up inserts by payload_id to prevent mixed sequences (#19264) 2025-10-24 11:48:29 +00:00
0xeabz
a767fe3b14 feat: allow using SafeNoSync for MDBX (#18945)
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
2025-10-24 11:25:14 +00:00
Dan Cline
4a24cb3b49 fix(engine): re-insert storage cache and use arc (#18879) 2025-10-24 09:32:55 +00:00
josé v
ddcfc8a440 chore: add add_or_replace_if_module_configured method (#19266) 2025-10-24 09:31:22 +00:00
strmfos
51fbd5a519 fix: no_std compatibility in reth-optimism-chainspec (#19271) 2025-10-24 08:36:30 +00:00
Yash
08fc0a918d feat: eth_fillTransaction (#19199)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
Co-authored-by: jxom <7336481+jxom@users.noreply.github.com>
2025-10-24 08:16:21 +00:00
radik878
189b00b1e6 chore(net): remove unnecessary TODO (#19268) 2025-10-23 20:03:16 +00:00
joshieDo
5a9c7703d1 chore: rm StaticFileReceipts pruner (#19265) 2025-10-23 18:44:06 +00:00
joshieDo
3883df3e6c chore: remove db pruning of header/txs segments (#19260) 2025-10-23 17:20:55 +00:00
Arsenii Kulikov
4adfa286f7 fix: return hashed peer key as id (#19245) 2025-10-23 16:17:26 +00:00
Léa Narzis
6739914ce7 feat(otlp-tracing): enable to export traces with grpc export with tracing-otlp and tracing-otlp-protocol arg (#18985) 2025-10-23 14:44:24 +00:00
Dan Cline
7b7f563987 fix(engine): shrink tries after clearing (#19159) 2025-10-23 14:38:32 +00:00
Alexey Shekhirin
81b1949c3c fix(cli): prune CLI argument names (#19215) 2025-10-23 16:06:04 +02:00
Ragnar
f3b9349d6f docs: add usage examples and documentation to NoopConsensus (#19194) 2025-10-23 13:34:51 +00:00
Alexey Shekhirin
3d3a05386a refactor(static-file): remove unused segments (#19209) 2025-10-23 13:31:15 +00:00
Fallengirl
75931f8772 chore: align env filter comment with configured directives (#19237) 2025-10-23 13:13:03 +00:00
Matthias Seitz
c54719145b fix: use known paris activation blocks in genesis parsing (#19258) 2025-10-23 12:43:56 +00:00
Roman Hodulák
71f91cf4eb feat(prune): Add an empty reth-prune-db crate (#19232) 2025-10-23 11:43:24 +00:00
Matthias Seitz
ce876a96ad fix: use network id in p2p command (#19252) 2025-10-23 13:39:12 +02:00
Fallengirl
b2236d1db7 docs: correct Payment tx type from 0x7E to 0x2A (#19255) 2025-10-23 13:20:59 +02:00
YK
4548209e7b perf: rm pending queue from MultiproofManager (#19178) 2025-10-23 07:19:21 +00:00
Alexey Shekhirin
f8845c6fbb fix(engine): payload processor tracing event targets (#19223) 2025-10-23 04:36:16 +00:00
theo
bcef01ce47 feat(jovian): track da footprint block limit. Update basefee calculation (#19048)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2025-10-22 23:28:23 +00:00
Matthias Seitz
346ef408a4 chore: swap order for canon stream (#19242) 2025-10-22 20:38:53 +00:00
radik878
4f6cc7a359 fix(node): remove unused ConsensusLayerHealthEvent variants (#19238) 2025-10-22 18:20:25 +00:00
Dan Cline
1972ec0949 revert: "fix(engine): flatten storage cache (#18880)" (#19235) 2025-10-22 16:33:54 +00:00
Federico Gimenez
8119045258 chore(e2e): relax bounds (#19231) 2025-10-22 16:29:55 +00:00
Alexey Shekhirin
fa2f173aac chore(storage): remove UnifiedStorageWriterError (#19210) 2025-10-22 16:10:33 +00:00
Jennifer
bab9dee555 fix: rename consume-* test suite (#19230) 2025-10-22 15:16:29 +00:00
Roman Hodulák
df0da36bc4 test(hive): Ignore new failures that are won't fix (#19218) 2025-10-22 15:04:08 +00:00
Matthias Seitz
f438a6cc83 chore: add elapsed info log (#19211) 2025-10-22 15:02:37 +00:00
wizard
b9f6068f59 fix: incorrect RPC namespace reference (#19225) 2025-10-22 14:04:10 +00:00
Matthias Seitz
778146cb01 chore: use retrylayer for benchmarkcontext (#19227) 2025-10-22 13:36:49 +00:00
Brian Picciano
47dc43287f fix(reth-bench): Lower block channel capacity and make it configurable (#19226) 2025-10-22 13:27:03 +00:00
Brian Picciano
712569d4ce feat: warning log when blocked on execution cache (#19222) 2025-10-22 13:04:16 +00:00
Brian Picciano
35b28ea543 fix: OverlayStateProviderFactory: validating trie changeset range and revert target (#19207) 2025-10-22 12:30:26 +00:00
greg
7a98145def fix: captured impl trait lifetime (#19216)
Signed-off-by: Gregory Edison <gregory.edison1993@gmail.com>
2025-10-22 11:58:01 +00:00