Commit Graph

98 Commits

Author SHA1 Message Date
Alexey Shekhirin
20a6a85148 refactor(trie): initialize sparse trie with the provider (#15199) 2025-03-21 15:36:21 +00:00
Dan Cline
ffc4cceb07 chore(trie): make rlp_node take external rlp_buf (#15137) 2025-03-19 13:52:41 +00:00
Dan Cline
00d2163350 chore(trie): refactor each trie reveal into separate fn (#15143) 2025-03-19 13:52:02 +00:00
Dan Cline
22ff50aa45 chore(trie): rename from_provider_and_root to from_root_node (#15141) 2025-03-19 08:05:03 +00:00
Alexey Shekhirin
c99a963d1c refactor(trie): pass blinded provider factory to sparse trie methods (#15120) 2025-03-18 16:54:17 +00:00
Odinson
7c70df193b refactor(trie): invert provider access in sparse trie (#14662)
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
2025-03-18 15:38:46 +00:00
Alexey Shekhirin
d119808124 chore(trie): do not take self by mutable ref for blinded provider (#15116) 2025-03-18 14:01:35 +00:00
Alexey Shekhirin
eeaa65a668 chore(trie): simplify hashed post state partitioning (#14892) 2025-03-13 16:53:29 +00:00
Dan Cline
3bebb0a19f chore: add metrics on redundant proof nodes (#14969) 2025-03-12 23:07:06 +00:00
Alexey Shekhirin
4f4db67bc1 feat(trie): update sparse trie storage roots independently (#14874) 2025-03-07 12:00:49 +00:00
Alexey Shekhirin
5ce2716b77 chore: add 0x prefix to b256! and address! calls (#14871) 2025-03-06 12:05:29 +00:00
Dan Cline
ae96ee9632 feat(trie): add sparse trie Display impl (#14544)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2025-02-21 17:37:40 +00:00
Shourya Chaudhry
8c2bcf11db refactor(trie): struct for passing hash and tree masks in sparse trie (#14468) 2025-02-14 13:03:58 +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
8e479f36d3 chore: add root_with_updates method to sparse trie (#14393) 2025-02-11 14:47:19 +00:00
Alexey Shekhirin
30488a1292 fix(trie): do not reveal same node twice in sparse trie (#14370) 2025-02-10 17:12:15 +00:00
Arsenii Kulikov
1c9ef8c5a3 refactor: remove Receipts struct (#14130) 2025-01-31 21:59:31 +00:00
Alexey Shekhirin
590b58f978 fix(trie): update prefix set on the call to RevealedSparseTrie::update_rlp_node_level (#14108) 2025-01-30 19:32:09 +00:00
Alexey Shekhirin
d858a9f87d test(trie): use DB for hash builder in sparse trie fuzz (#13754)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2025-01-27 11:46:52 +00:00
Roman Krasiuk
d2b454236f perf(root): untangle the state root task (#13898) 2025-01-21 22:46:34 +00:00
Alexey Shekhirin
12d3fbefff fix(trie): check branch node masks if store_in_db_trie is None (#13828) 2025-01-17 12:49:07 +00:00
Roman Krasiuk
f66c7cc80d chore(trie): make rlp_node fns pub (#13818) 2025-01-17 12:46:16 +00:00
Alexey Shekhirin
43bd94ac4e fix(trie): reveal blinded node along with masks in sparse trie (#13827) 2025-01-17 11:00:57 +00:00
Alexey Shekhirin
64197c0064 chore(trie): branch node has only one child log (#13836) 2025-01-17 01:26:57 +01:00
Alexey Shekhirin
7e972ea23d fix(trie): use correct store_in_db_trie value for sparse extension nodes (#13826) 2025-01-16 16:45:23 +00:00
Alexey Shekhirin
2c21edfed5 fix(trie): empty sparse trie branch node masks (#13825) 2025-01-16 15:10:09 +00:00
Alexey Shekhirin
590496d0e4 chore(trie): less logs for sparse branch node updates (#13811) 2025-01-16 13:47:18 +00:00
Alexey Shekhirin
f1f9d5a652 fix(trie): delete removed node from updated nodes in sparse trie (#13822) 2025-01-16 11:09:37 +00:00
Roman Krasiuk
1948e0f79c feat(trie): sparse trie accessors (#13815) 2025-01-16 09:30:53 +00:00
Alexey Shekhirin
bbc592c5bf fix(trie): remove branch nodes in sparse trie that shouldn't be stored (#13808) 2025-01-16 08:47:17 +00:00
Alexey Shekhirin
ac73b52079 fix(trie): remove branch nodes from updates if it was deleted (#13813) 2025-01-16 08:47:14 +00:00
Federico Gimenez
5a23708eb0 chore: make clippy happy (#13772) 2025-01-11 11:15:06 +00:00
Alexey Shekhirin
69f9e1628a fix(trie): sparse trie tree masks (#13760) 2025-01-10 11:28:54 +00:00
Roman Krasiuk
1f78b9e7e4 chore(trie): reveal witness by ref (#13751) 2025-01-09 15:34:57 +00:00
Roman Krasiuk
66f934b8d0 chore(trie): simplify blinded provider (#13753) 2025-01-09 13:23:31 +00:00
Roman Krasiuk
017217f3eb feat(trie): add leaf value retrieval methods to SparseStateTrie (#13750) 2025-01-09 11:40:45 +00:00
Roman Krasiuk
bd4947112d perf(trie): set trie mask bits directly (#13724) 2025-01-08 12:49:39 +00:00
Roman Krasiuk
91fef2904a feat: SparseStateTrie::reveal_witness (#13719) 2025-01-08 10:19:28 +00:00
Alexey Shekhirin
721a581180 fix(tree): do not reveal nodes twice in sparse trie (#13674) 2025-01-06 20:20:50 +00:00
Alexey Shekhirin
790a1e2898 fix(trie): memoize the hash of a revealed sparse node (#13233) 2024-12-19 11:51:37 +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
6550d82abd perf: pass blinded_node path by reference (#13298) 2024-12-11 14:06:24 +00:00
DaniPopes
0494ca01d5 perf: trie micro optimizations (#13282) 2024-12-11 04:52:42 +00:00
Alexey Shekhirin
8aada7a243 feat(engine): parallel sparse storage roots (#13269) 2024-12-10 18:29:07 +00:00
Alexey Shekhirin
f4ae4399da perf(trie): use entry API in sparse trie (#13240) 2024-12-09 19:41:00 +00:00
Alexey Shekhirin
a3e90e18b6 fix(trie): retain updates only for sparse branch nodes in the prefix set (#13234) 2024-12-09 17:33:17 +00:00
Alexey Shekhirin
da5ffc24c2 fix(trie): reveal extension child in sparse trie when updating a leaf (#13183) 2024-12-09 15:12:36 +00:00