Commit Graph

229 Commits

Author SHA1 Message Date
Dan Cline
1d55abeef3 chore: rename extend_ref methods on sorted data structures (#21043) 2026-01-19 13:04:57 +00:00
Matthias Seitz
40bc9d3860 revert: undo Chain crate, add LazyTrieData to trie-common (#21155) 2026-01-17 15:57:09 +00:00
Georgios Konstantopoulos
c11c13000f perf(storage): batch trie updates across blocks in save_blocks (#21142)
Co-authored-by: Amp <amp@ampcode.com>
Co-authored-by: YK <chiayongkang@hotmail.com>
2026-01-17 07:15:40 +00:00
Matthias Seitz
6bf43ab24a refactor: use ExecutionOutcome::single instead of tuple From (#21152) 2026-01-17 01:51:26 +00:00
Dan Cline
c617d25c36 perf: make Chain use DeferredTrieData (#21137)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2026-01-17 01:05:35 +00:00
Matthias Seitz
3a39251f79 fix: release mutex before dropping ancestors in wait_cloned (#21146) 2026-01-16 22:32:23 +00:00
Matthias Seitz
905bb95f8b perf(engine): defer trie overlay computation with LazyOverlay (#21133) 2026-01-16 18:25:04 +00:00
Arsenii Kulikov
80eb0d0fb6 refactor: use BlockExecutionOutcome in ExecutedBlock (#21123) 2026-01-16 17:07:19 +00:00
Matthias Seitz
ec3323bba0 refactor(chain-state): extract blocks_to_chain helper (#21110) 2026-01-15 23:27:11 +00:00
YK
369c629b9b perf(trie): reuse overlay in deferred trie overlay computation (#20774) 2026-01-12 15:04:26 +00:00
Arun Dhyani
d489f80f6b feat: Add TrieUpdatesSorted and HashedPostStateSorted in all ExEx notifications (#20333)
Co-authored-by: Brian Picciano <me@mediocregopher.com>
2026-01-09 13:06:41 +00:00
Matthias Seitz
8a9b5d90f4 feat(chain-state): add persisted block tracking (#20876)
Co-authored-by: cakevm <cakevm@proton.me>
2026-01-09 09:56:20 +00:00
Matthias Seitz
4412a501eb perf(chain-state): avoid clones in deferred trie computation (#20816) 2026-01-08 09:25:32 +00:00
Matthias Seitz
485eb2e8d5 perf(trie): add clone_into_sorted for TrieUpdates and StorageTrieUpdates (#20784)
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-06 15:11:27 +00:00
andrewshab
0ad5574115 chore(chain-state): remove needless collect in test assertions (#20778) 2026-01-06 13:19:55 +00:00
bobtajson
981d1da41a chore(chain-state): remove needless collect in test assertions (#20736) 2026-01-05 17:22:58 +00:00
cui
5265079654 perf: avoid one vec alloc (#20717)
Co-authored-by: weixie.cui <weixie.cui@okg.com>
2026-01-05 12:40:03 +00:00
Desant pivo
d9c6f745c6 fix(chain-state): correct balance deduction in test block builder (#20308) 2025-12-29 09:59:19 +00:00
Matthias Seitz
6c49e5a89d chore: release lock early (#20605) 2025-12-23 15:09:45 +00:00
Matthias Seitz
642bbea2a8 perf: make BlockState::parent_state_chain return iterator (#20496)
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-22 15:58:46 +00:00
Brian Picciano
7b2fbdcd51 chore(db): Remove Sync from DbTx (#20516) 2025-12-22 10:13:57 +00:00
Alexey Shekhirin
05307d088c perf(chain-state): executed_block_receipts_ref (#20227) 2025-12-09 13:08:15 +00:00
Arsenii Kulikov
07bca4f26a perf(engine): only recover senders once (#20118) 2025-12-04 20:43:51 +00:00
YK
e0a6f54b42 perf(trie): add HashedPostStateSorted::from_reverts (#20047) 2025-12-03 05:05:23 +00:00
YK
e8fd2eedfd perf(trie): compute and sort trie inputs async (#19894) 2025-11-28 06:10:59 +00:00
YK
e58aa09f82 perf(engine): return sorted data from compute_trie_input (#19340) 2025-11-19 16:01:24 +00:00
Matthias Seitz
a718752bf5 chore: fix clippy (#19118) 2025-10-18 11:22:02 +02:00
leopardracer
6a918f4cab fix: Deduplicate hashed storage preparation in MemoryOverlayStateProvider (#19087) 2025-10-17 15:48:22 +00:00
futreall
4c7b1ed9d4 fix: add revm-state to dev-dependencies of chain-state crate (#19044) 2025-10-17 10:11:11 +00:00
Avory
53ef7a386c docs: fix duplicate method comments in ChainInfoTracker (#18929) 2025-10-16 20:53:36 +00:00
Brian Picciano
be94d0d393 feat(trie): Merge trie changesets changes into main (#19068)
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
Co-authored-by: Roman Hodulák <roman.hodulak@polyglot-software.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2025-10-16 09:52:35 +00:00
Merkel Tranjes
c0caaa17be refactor: replace collect().is_empty() with next().is_none() in tests (#18902)
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
2025-10-08 14:20:39 +00:00
Matthias Seitz
850083dbde chore: remove doc_auto_cfg feature (#18758) 2025-09-28 12:53:45 +02:00
Galoretka
c9fea939a1 fix(chain-state): remove redundant transaction clone in test utils (#18710)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-09-26 14:20:34 +00:00
malik
a3aaccd34a perf: optimize canonical_hashes_range with Vec::with_capacity pre-allocation + benchmark (#18072)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-09-10 07:36:51 +00:00
Matthias Seitz
62f03e41bc chore: fix various typos in comments and documentation (#18296) 2025-09-06 08:36:10 +02:00
Roman Hodulák
594a67d87f fix(optimism): Verify that flashblocks are not old according to canon state (#18123) 2025-08-28 15:23:05 +00:00
malik
28774f7ad4 fix: clarify locking behavior comment in InMemoryState (#18081) 2025-08-27 08:05:52 +00:00
smileclown2024
af57047654 perf: optimize canonical_hashes_range to O(n) complexity (#17975) 2025-08-25 18:42:19 +00:00
Roman Hodulák
23cfd1bb7c feat(optimism): Add FlashBlockService that builds blocks from FlashBlocks (#18009) 2025-08-25 15:02:39 +00:00
Kero
3f3e4fe7a7 fix: convert anchor() method from recursive to iterative (#17909) 2025-08-18 13:55:26 +00:00
nk_ysg
544eed8b72 test(chain-state): opt unit test (#17770) 2025-08-13 18:12:48 +00:00
Matthias Seitz
5f0d33425e chore: msrv 1.88 (#17782) 2025-08-10 15:51:26 +00:00
Léa Narzis
a4e85841d8 feat(chain-state): add IndexedTx helper (#17737) 2025-08-06 17:24:32 +00:00
Léa Narzis
3f3ccc3aa8 chore: remove duplicate deps (#17618) 2025-07-26 10:11:17 +00:00
Udoagwa Franklin
250f2104ca fix: Returns Arc<RecoveredBlock> in BlockAndReceiptsResult (#17213)
Co-authored-by: frankudoags <frankudoags.com>
2025-07-04 12:43:17 +00:00
0xNarumi
21cf573d97 fix: move bytecode_by_hash from StateProvider to a dedicated BytecodeReader (#16886) 2025-06-18 13:29:11 +00:00
Roman Hodulák
03fcb332bc feat(rpc): Implement TransactionCompat for generic RPC response builder (#16694) 2025-06-09 09:12:29 +00:00
Femi Bankole
1254438bdd feat: json ChainNotification subscription endpoint (#16644) 2025-06-04 09:58:38 +00:00
Alexey Shekhirin
5106f64f76 fix(engine): recompute trie updates for forked blocks (#16568) 2025-06-04 09:58:19 +00:00