Commit Graph

536 Commits

Author SHA1 Message Date
Suyash Nayan
51596bee0b refactor(trie): pass rlp_buf as a mutable argument to rlp_node (#16243)
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
2025-05-16 11:16:25 +00:00
0xriazaka.eth
8b4db1ffa3 docs: clarify note on &mut self usage (#16237) 2025-05-14 17:07:12 +00:00
Alexey Shekhirin
6c188475fc fix(trie): do not panic when logging the current hash of TrieWalker (#16222) 2025-05-14 10:41:55 +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
Alexey Shekhirin
3d48dcc8e5 feat(trie): instrument TrieNodeIter::try_next (#16127) 2025-05-12 16:08:43 +00:00
Suyash Nayan
b90b8d4eac perf(trie): optimize TrieNodeIter by skipping redundant seek (#15841)
Signed-off-by: 7suyash7 <suyashnyn1@gmail.com>
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
2025-05-12 11:23:47 +00:00
Alexey Shekhirin
f1dc684229 feat(trie): walker branch node seeks metric (#16106) 2025-05-07 13:03:30 +00:00
kevaundray
41a2d0f005 chore: add more docs to SparseTrie (#15750)
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-05-06 14:33:48 +00:00
kevaundray
3e5c230f4d feat: add stateless crate to expose stateless validation (#15591)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
2025-05-06 12:38:07 +00:00
Matthias Seitz
caa4f133a1 chore: silence warnings (#16076) 2025-05-06 10:28:39 +02:00
Alexey Shekhirin
1d17787a3c chore(trie): do not panic in trie cursor subnode Debug impl (#16013) 2025-05-02 06:27:02 +00:00
kilavvy
8515cdc10e fix: Remove redundant article and add missing apostrophe (#16017) 2025-05-01 10:27:06 +00:00
Ayush Dubey
4d46962a65 chore: Adding metric feature gate (#15971)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-04-30 12:31:02 +00:00
Emilia Hane
a7435bede0 chore(deps): 2024 edition syntax fixes (#14731) 2025-04-24 21:34:26 +00:00
Matthias Seitz
ddba222c08 chore: make clippy happy (#15895)
Co-authored-by: Federico Gimenez <federico.gimenez@gmail.com>
2025-04-24 08:06:06 +00:00
kevaundray
40f0edfc2e chore: Make SparseTrie crate no_std compatible (#15786)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-04-23 11:57:41 +00:00
kevaundray
81942e41be chore: add a method on SparseTrie to check whether a leaf exists (#15758)
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
2025-04-22 19:52:54 +00:00
charlessswang
3f95621703 chore(all): remove duplicate words (#15799)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-04-21 10:57:28 +00:00
Roman Krasiuk
b131b0d5d6 feat(witness): always_include_root_node flag (#15679) 2025-04-18 13:17:00 +00:00
Roman Krasiuk
fdfca34218 chore(trie): trie_type behind flag (#15690) 2025-04-18 13:00:12 +00:00
Federico Gimenez
ddc101f863 chore: set clippy check for const fn to warn (#15777) 2025-04-16 17:59:36 +00:00
Roman Krasiuk
e8c4c623b0 chore(trie): make RevealedNode usable externally (#15691) 2025-04-11 11:38:00 +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
Alexey Shekhirin
2563e93d95 perf(trie): reserve space for new proof nodes ahead of time (#15637) 2025-04-10 17:32:25 +00:00
Emilia Hane
73b9294072 chore(lint): Remove redundant lint attributes (#15531) 2025-04-09 10:11:02 +00:00
Dan Cline
460f8400aa feat: add ability to handle dedicated storage proof result (#15252) 2025-04-08 16:36:00 +00:00
Pana
897223d307 fix: typo (#15578) 2025-04-08 09:50:54 +00:00
taikoon
ca80ea187a chore: clean unused deps (#15557) 2025-04-05 11:07:16 +00:00
Matthias Seitz
b7ce701a4c chore: silence warnings (#15538) 2025-04-04 19:14:34 +00:00
Alexey Shekhirin
48e0ec67d0 perf(trie): cache last hashed entry seek in trie node iter (#15471) 2025-04-03 11:54:04 +00:00
Alexey Shekhirin
ef18f950d3 refactor(trie): introduce SubNodePosition enum (#15420) 2025-04-03 08:33:40 +00:00
Alexey Shekhirin
500405aa0a feat(trie): node iter metrics (#15438) 2025-04-02 17:33:26 +00:00
Dan Cline
40015a821b perf(trie): reduce hashed seeks in TrieNodeIter (#15336)
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
2025-04-02 09:04:53 +00:00
Federico Gimenez
6d3f3b510d chore: remove unused deps (#15416) 2025-03-31 19:00:07 +00:00
Alexey Shekhirin
94ff338efd docs(trie): trie node iterat walker check flag (#15418) 2025-03-31 18:37:42 +00:00
kustrun
4d7806c752 feat(node-type): Make NodeType & impls Clone. (#14997) 2025-03-26 14:02:44 +00:00
Alexey Shekhirin
c0c29862bc test(trie): more complex trie node iter test (#15244) 2025-03-24 21:32:11 +00:00
Alexey Shekhirin
5a7cd15e94 test(trie): fix cursor mocks (#15242) 2025-03-24 13:46:55 +00:00
Ishika Choudhury
f4f205f80c changed possible #[allow()] -> #[expect()] (#15168)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-03-22 08:52:17 +00:00
Ishika Choudhury
35a5d050ed feat: feature gate serde in ethereum-primitives (#15041)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-03-22 07:35:25 +00:00
Dan Cline
fc1bb84195 feat: add dedicated storage proof method to ParallelProof (#15183) 2025-03-21 22:14:13 +00:00
Alexey Shekhirin
20a6a85148 refactor(trie): initialize sparse trie with the provider (#15199) 2025-03-21 15:36:21 +00:00
Alexey Shekhirin
59ed4c0250 test(trie): fix the trie node iterator test and use hash builder for correctness (#15195) 2025-03-21 12:11:49 +00:00
Matthias Seitz
65b7b33793 chore: remove serde from reth-provider (#15194) 2025-03-21 11:29:29 +00:00
Alexey Shekhirin
53a9c234a8 test(trie): trie node iter (#15176) 2025-03-20 18:15:18 +00:00
Alexey Shekhirin
5a6d957234 test(trie): mock hashed cursor factory (#15174) 2025-03-20 13:32:27 +00:00
Alexey Shekhirin
8df04421e8 test(trie): mock trie cursor factory (#15173) 2025-03-20 13:21:26 +00:00
Alexey Shekhirin
393c498527 perf(engine): use proof task as blinded node provider for sparse trie (#15152) 2025-03-20 11:05:25 +00:00
Matthias Seitz
feb38c35f3 feat: add inverse conversion for rpc proof types (#15158) 2025-03-20 10:12:30 +00:00
Dan Cline
ffc4cceb07 chore(trie): make rlp_node take external rlp_buf (#15137) 2025-03-19 13:52:41 +00:00