Commit Graph

82 Commits

Author SHA1 Message Date
Alexey Shekhirin
67e3c11135 perf(trie): ParallelSparseTrie::get_changed_subtries method (#16908)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2025-06-18 22:51:10 +00:00
rotcan
cb11ab0475 feat(engine): Compare sorted trie updates in witness invalid block hook#15689 (#16481) 2025-06-17 20:31:08 +00:00
Alexey Shekhirin
57e4b919a3 test(trie): fix stored nibbles tests (#16769) 2025-06-11 12:36:55 +00:00
Alexey Shekhirin
74bde8adee perf(engine): do not use state root task for non-empty revert state (#16631) 2025-06-04 10:56:03 +00:00
Alexey Shekhirin
5106f64f76 fix(engine): recompute trie updates for forked blocks (#16568) 2025-06-04 09:58:19 +00:00
Alexey Shekhirin
6c8559775e revert: fix(engine): recompute trie updates for forked blocks (#16500) (#16565) 2025-05-30 11:58:40 +00:00
Alexey Shekhirin
1cfe509985 fix(engine): recompute trie updates for forked blocks (#16500) 2025-05-28 14:21:26 +00:00
cakevm
4856424334 feat(rpc): add debug_stateRootWithUpdates method (#16353) 2025-05-28 11:56:06 +00:00
Dan Cline
6e88d7fb3b feat(trie): decode proofs in multiproof task (#16098)
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
2025-05-20 22:10:04 +00:00
0xriazaka.eth
8b4db1ffa3 docs: clarify note on &mut self usage (#16237) 2025-05-14 17:07:12 +00:00
Dan Cline
71f009dbc9 feat(trie): add clear method to PrefixSetMut, RevealedSparseTrie, SparseTrieUpdates (#16179)
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
2025-05-13 18:45:07 +00:00
Emilia Hane
a7435bede0 chore(deps): 2024 edition syntax fixes (#14731) 2025-04-24 21:34:26 +00:00
Federico Gimenez
ddc101f863 chore: set clippy check for const fn to warn (#15777) 2025-04-16 17:59:36 +00:00
Yash Atreya
58fe204ff2 chore: alloy 0.14 (#15635)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-04-11 08:28:57 +02:00
Dan Cline
460f8400aa feat: add ability to handle dedicated storage proof result (#15252) 2025-04-08 16:36:00 +00:00
Matthias Seitz
feb38c35f3 feat: add inverse conversion for rpc proof types (#15158) 2025-03-20 10:12:30 +00:00
Alexey Shekhirin
eeaa65a668 chore(trie): simplify hashed post state partitioning (#14892) 2025-03-13 16:53:29 +00:00
Alexey Shekhirin
a765af9e6b perf(tree): chunk multiproofs (#14800) 2025-03-06 15:45:29 +00:00
Arsenii Kulikov
2e347e76e7 fix: no-std for storage-api (#14810) 2025-03-03 20:06:40 +00:00
Roman Krasiuk
feab73a003 feat(trie): utility methods for getting difference for MultiProofTargets (#14761) 2025-02-27 17:08:36 +00:00
Roman Krasiuk
cbf31556a9 chore(trie): convert MultiProofTargets into unit struct (#14748) 2025-02-27 12:50:04 +00:00
Roman Krasiuk
b4d1c85397 feat(trie): HashedPostState::multi_proof_targets (#14747) 2025-02-27 12:15:46 +00:00
Alexey Shekhirin
b3bd69b224 feat(root): metrics and logs for state root config (#14631) 2025-02-21 14:26:34 +00:00
Arsenii Kulikov
336c3d1fac feat: alloy-evm and new revm integration (#14021)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: rakita <rakita@users.noreply.github.com>
2025-02-17 19:59:23 +00:00
DaniPopes
fe745ea636 chore(trie): small cleanups (#14496) 2025-02-14 15:50:38 +00:00
Dan Cline
713182d530 feat(trie): add DecodedAccountProof and DecodedMultiProof (#14425)
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
2025-02-14 14:28:00 +00:00
Alexey Shekhirin
1970a4425b fix(trie): reveal blinded sparse trie when calculating root (#14449) 2025-02-12 15:27:07 +00:00
DaniPopes
fc7a3e5bc6 chore: use shorter map names (#14445) 2025-02-12 11:59:42 +00:00
Dan Cline
d727701a75 feat: add DecodedStorageProof and DecodedStorageMultiProof (#14391) 2025-02-11 16:05:20 +00:00
Poulav Bhowmick
8c4c8c90cf Moved HashedPostState to trie-common crate (#14230)
Co-authored-by: DarkLord017 <sambhavjain170944@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-02-06 11:59:39 +00:00
kien-rise
e11e1f30fa perf: remove empty HashMap instances from TrieUpdates and HashedPostState (#13976) 2025-01-28 11:00:05 +00:00
Dan Cline
cd45a20eeb chore(trie): remove from_cache_state (#14028) 2025-01-28 08:53:32 +00:00
Alexey Shekhirin
69f9e1628a fix(trie): sparse trie tree masks (#13760) 2025-01-10 11:28:54 +00:00
Matthias Seitz
a0dcb0c522 chore: replace root fns with alloys (#13501) 2024-12-23 10:46:06 +00:00
Matthias Seitz
3966130844 chore: make trie-common no-std (#13473) 2024-12-20 11:16:09 +00:00
Matthias Seitz
091c5499ba chore: replace TrieAccount with alloy's (#13397) 2024-12-16 02:57:02 +00:00
Alexey Shekhirin
008cb25d00 chore(trie): make MultiProofTargets a type alias (#13364) 2024-12-13 09:02:39 +00:00
Alexey Shekhirin
6ff2510ad9 perf(engine): cache proof targets in proof sequencer for state root task (#13310) 2024-12-12 16:28:12 +00:00
DaniPopes
0494ca01d5 perf: trie micro optimizations (#13282) 2024-12-11 04:52:42 +00:00
Matthias Seitz
08b875f4f5 chore: feature gate reth-codecs in trie-common (#13215) 2024-12-07 22:15:32 +01:00
Alexey Shekhirin
27dab59ceb feat(trie): collect branch node hash masks when calculating a proof (#13129) 2024-12-04 20:34:37 +00:00
Hoa Nguyen
9b1d676438 feat: move eip1186 conversion helpers to reth-trie-common proofs (#12985)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-11-30 16:01:19 +00:00
Roman Krasiuk
eac02d9458 fix(trie): always create empty storage multiproofs (#12915) 2024-11-28 13:01:57 +00:00
Roman Krasiuk
c274462059 perf: use alloy hash map in trie related code (#12956) 2024-11-28 12:12:47 +00:00
Roman Krasiuk
e9a6e4525e feat(trie): SparseStateTrie::update_account (#12954) 2024-11-28 12:00:18 +00:00
Matthias Seitz
5dc914be80 chore: make cargo t compile for reth-trie-common (#12884) 2024-11-26 16:38:12 +00:00
Roman Krasiuk
2dc92880ba chore(trie): move trie updates to reth-trie-common (#12863) 2024-11-26 12:09:12 +00:00
Roman Krasiuk
aa0a114b0d chore(trie): introduce serde feature on reth-trie-common (#12864) 2024-11-26 10:34:23 +00:00
Roman Krasiuk
fae44bf74a chore(trie): move prefix sets to reth_trie_common (#12860) 2024-11-26 09:29:28 +00:00
Thomas Coratger
82eb38312c trie: add unit tests for nibbles (#12758) 2024-11-26 03:07:43 +00:00