Commit Graph

450 Commits

Author SHA1 Message Date
f791f39348 fix: reth-trie no_std case hashmap (#13497)
Co-authored-by: lightsing <light.tsing@gmail.com>
2024-12-22 18:47:53 +01:00
42af22fc7c chore: enable std with arbitrary (#13479) 2024-12-20 12:16:42 +00:00
a4f86b0e2d feat: set up codspeed (#13372) 2024-12-20 11:21:51 +00:00
3966130844 chore: make trie-common no-std (#13473) 2024-12-20 11:16:09 +00:00
30e8c78171 chore: rm async from state root from bench (#13472) 2024-12-20 10:50:03 +00:00
0a0a2d425d perf(engine): use ParallelProof::multiproof in StateRootTask (#13260) 2024-12-19 12:28:15 +00:00
790a1e2898 fix(trie): memoize the hash of a revealed sparse node (#13233) 2024-12-19 11:51:37 +00:00
d1b3dee5cb perf(trie): use local ThreadPool in Parallel::multiproof (#13416) 2024-12-19 11:48:12 +00:00
091c5499ba chore: replace TrieAccount with alloy's (#13397) 2024-12-16 02:57:02 +00:00
008cb25d00 chore(trie): make MultiProofTargets a type alias (#13364) 2024-12-13 09:02:39 +00:00
6ff2510ad9 perf(engine): cache proof targets in proof sequencer for state root task (#13310) 2024-12-12 16:28:12 +00:00
b94a31f6d8 feat(trie): replace TrieInput by its components in ParallelProof (#13346) 2024-12-12 13:24:47 +00:00
411c5eabc7 feat(engine): integrate blinded provider factory into state root task (#13294) 2024-12-11 18:15:39 +00:00
432e536d4b fix(trie): parallel proof should return empty storage proofs (#13300) 2024-12-11 14:21:23 +00:00
6550d82abd perf: pass blinded_node path by reference (#13298) 2024-12-11 14:06:24 +00:00
0494ca01d5 perf: trie micro optimizations (#13282) 2024-12-11 04:52:42 +00:00
0144a433df perf: reduce size of DatabaseError (#13283) 2024-12-11 02:49:15 +00:00
7b9ca0af73 perf: enable map-foldhash alloy-primitives feature globally (#13278) 2024-12-11 00:01:43 +00:00
8aada7a243 feat(engine): parallel sparse storage roots (#13269) 2024-12-10 18:29:07 +00:00
f4ae4399da perf(trie): use entry API in sparse trie (#13240) 2024-12-09 19:41:00 +00:00
a3e90e18b6 fix(trie): retain updates only for sparse branch nodes in the prefix set (#13234) 2024-12-09 17:33:17 +00:00
da5ffc24c2 fix(trie): reveal extension child in sparse trie when updating a leaf (#13183) 2024-12-09 15:12:36 +00:00
08b875f4f5 chore: feature gate reth-codecs in trie-common (#13215) 2024-12-07 22:15:32 +01:00
7e9d2c1a34 chore: remove unused trie-common alloy-serde dep (#13201) 2024-12-07 05:00:51 +00:00
cd13bd91cd feat: unify ReceiptWithBloom from Alloy (#13088)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-12-06 19:12:44 +00:00
6453b62094 feat(trie): use branch node hash masks in sparse trie (#13135) 2024-12-06 08:45:08 +00:00
da03b7989e perf(trie): avoid (de)allocating an extra prefix set (#13020) 2024-12-05 13:45:43 +00:00
27dab59ceb feat(trie): collect branch node hash masks when calculating a proof (#13129) 2024-12-04 20:34:37 +00:00
3091386fd1 fix(witness): collect witness using sparse trie (#13072) 2024-12-04 14:45:23 +00:00
53243a29f3 perf: avoid cloning bytecode when converting revm's &AccountInfo to reth's Account (#13126) 2024-12-04 13:13:35 +00:00
886471d693 Introduce HashedPostStateProvider (#12607)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-12-03 16:56:17 +00:00
e4c7fac9db chore(trie): make Debug impl work for any provider (#13107) 2024-12-03 16:43:35 +00:00
39f936ede2 chore: move sparse errors to reth-execution-errors (#13101) 2024-12-03 14:20:15 +00:00
61cb3dedca fix(trie): do not persist root branch nodes in sparse trie (#13071)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-12-03 13:51:04 +00:00
0aa4701d30 fix(trie): short circuit leaf removal if missing (#12988)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-12-03 13:40:29 +00:00
e4c0f192ee chore(trie): exclude blinded providers from Debug impl (#13098) 2024-12-03 13:08:54 +00:00
82b97a8dd3 chore: fix unused warning (#13090) 2024-12-03 09:46:41 +00:00
ae8912fa73 feat(trie): proof blinded providers (#13085) 2024-12-03 08:38:17 +00:00
bcfe9ebb25 feat(trie): SparseStateTrie::new (#13068) 2024-12-02 21:07:18 +00:00
df4673ef80 trie: init storage blinded provider with account (#13058) 2024-12-02 12:09:39 +00:00
0884611668 chore(trie): remove infallible variant (#13057) 2024-12-02 11:25:40 +00:00
cccbd90e7b docs(trie): duplicate comment in sparse trie (#13056) 2024-12-02 11:09:03 +00:00
b91d0f8711 feat(trie): blinded node provider (#13027) 2024-12-02 10:10:37 +00:00
04f8c58485 perf(trie): storage multiproof overallocation (#12959) 2024-12-02 10:07:32 +00:00
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
0ff2827a79 refactor: use is_none_or instead of map_or (#13035) 2024-11-30 11:09:49 +00:00
f6895126dd perf: remove clone in trie walker (#13004) 2024-11-29 14:40:17 +00:00
a8e2b77df5 chore(trie): sparse trie trace logs and assertion messages (#12969) 2024-11-29 11:10:38 +00:00
e1b25c80c2 perf(tree): keep storage trie around for updates (#12971) 2024-11-28 15:52:25 +00:00
8c86d63a42 perf(trie): avoid update reallocation & track wiped (#12929) 2024-11-28 14:18:38 +00:00