Commit Graph

433 Commits

Author SHA1 Message Date
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
eac02d9458 fix(trie): always create empty storage multiproofs (#12915) 2024-11-28 13:01:57 +00:00
c274462059 perf: use alloy hash map in trie related code (#12956) 2024-11-28 12:12:47 +00:00
e9a6e4525e feat(trie): SparseStateTrie::update_account (#12954) 2024-11-28 12:00:18 +00:00
47245642ca feat(trie): SparseStateTrie::storage_trie_mut (#12913) 2024-11-27 19:18:31 +00:00
2700db1258 feat(trie): SparseStateTrie::remove_storage_leaf (#12912) 2024-11-27 17:59:58 +00:00
26bfe7c037 feat: SparseStateTrie::reveal_multiproof (#12909) 2024-11-27 16:18:54 +00:00
7a6a725d91 feat: add Receipt AT to writer traits (#12892) 2024-11-27 15:31:13 +00:00
1131bdecc3 feat(engine): proof fetching on state update for StateRootTask (#12458)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-11-27 14:14:29 +00:00
5dc914be80 chore: make cargo t compile for reth-trie-common (#12884) 2024-11-26 16:38:12 +00:00
a0f99df21b feat(trie): StorageRootProvider::storage_multiproof (#12879) 2024-11-26 14:01:31 +00:00
c19b8e1a2b chore(trie): remove todo comment (#12875) 2024-11-26 12:57:58 +00:00
2b4fa3bbf1 dep(trie): remove reth-trie dep from reth-trie-sparse (#12872) 2024-11-26 12:53:52 +00:00
2dc92880ba chore(trie): move trie updates to reth-trie-common (#12863) 2024-11-26 12:09:12 +00:00
aa0a114b0d chore(trie): introduce serde feature on reth-trie-common (#12864) 2024-11-26 10:34:23 +00:00
fae44bf74a chore(trie): move prefix sets to reth_trie_common (#12860) 2024-11-26 09:29:28 +00:00
82eb38312c trie: add unit tests for nibbles (#12758) 2024-11-26 03:07:43 +00:00
e2c42ae242 test(trie): use proof nodes helper (#12848) 2024-11-25 14:20:08 +00:00