Commit Graph

436 Commits

Author SHA1 Message Date
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
6b088bd881 perf(engine): sparse trie calculation for state root task (#12843) 2024-11-25 14:15:12 +00:00
04dd005af9 feat(trie): sparse trie methods for trie task integration (#12720) 2024-11-25 13:13:01 +00:00
c8e5b233ef Use adjust_index_for_rlp from alloy (#12815) 2024-11-24 11:08:30 +00:00
7d24aa40e8 chore(trie): log proof result send error (#12749) 2024-11-22 08:44:56 +00:00
42aea7b9f6 feat(trie): retain branch nodes in sparse trie (#12291) 2024-11-21 11:49:42 +00:00
3408059393 feat(trie): introduce TRIE_ACCOUNT_RLP_MAX_SIZE constant (#12638) 2024-11-19 16:01:44 +00:00
50c875b33c feat(trie): short-circuit account/storage reveal in sparse trie (#12663) 2024-11-19 15:39:41 +00:00
8aa9b71ef7 chore(witness): simplify wiped storage retrieval (#12637) 2024-11-18 15:51:46 +00:00
1d2934ba69 feat(trie): turn TrieWitness methods into public functions (#12510) 2024-11-18 15:02:39 +00:00
26ce7fbdb2 feat(trie): add extend method to MultiProof (#12467) 2024-11-18 13:56:14 +00:00
ff22c8eef8 chore(sdk): Define MaybeSerde (#12577)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-11-18 13:30:44 +00:00
a84f58bcb8 chore: use keccak256 from alloy (#12628) 2024-11-18 12:00:57 +00:00
d9ed07a367 chore: remove revm-primitives re-export (#12599) 2024-11-16 11:33:09 +01:00
fc97a0cbaf chore: make clippy happy (#12594) 2024-11-16 06:04:39 +01:00
179aa04707 test(trie): add ParallelProof unit test (#12413) 2024-11-12 11:29:51 +00:00
c261532a27 chore: move trie functions to alloy (#12438) 2024-11-12 10:15:52 +00:00
de6813093d chore(trie): rename reth-trie-parallel modules (#12444) 2024-11-11 11:23:07 +00:00
f03b762036 feat: introduce ParallelProof (#12403) 2024-11-08 15:20:26 +00:00
cf095a7536 chore: reorder super (#12380) 2024-11-07 16:42:37 +01:00
190a1d8bb4 feat(trie): reveal storage slots and calculate storage root in sparse trie (#12145) 2024-11-07 15:21:53 +00:00
12b0637485 refactor(trie): small refactor in HashedPostState::from_reverts (#12319)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-11-06 14:35:47 +00:00
969ca3e63b fix: check hashed state for loading TriePrefixSets::destroyed_accounts (#12235) 2024-11-01 17:14:22 +00:00
c6b740801f chore: apply same member order (#12253) 2024-11-01 11:11:54 +00:00
76c5aef911 fix(trie): move to sibling on invalid tree mask (#12193)
Co-authored-by: Federico Gimenez <fgimenez@users.noreply.github.com>
2024-10-31 10:53:59 +00:00
129f3ba911 feat: introduce StateCommitment type (#11842) 2024-10-30 08:48:43 +00:00
1006ce78c5 feat(provider): use NodeTypes on DatabaseProvider instead (#12166) 2024-10-29 14:37:41 +00:00
1276277568 test(trie): use proptest to generate random values (#12140) 2024-10-28 15:57:58 +00:00
af5ae5a792 perf(trie): reduce allocations in sparse trie rlp node calculation (#12092) 2024-10-28 13:55:31 +00:00
1f1c68d65e perf(trie): cache prefix set lookups in sparse trie (#12088) 2024-10-28 12:36:12 +00:00
1b0f625f1d perf(trie): collect only changed sparse nodes at a depth (#12093) 2024-10-28 11:06:26 +00:00
268090e879 bench(trie): RevealedSparseTrie::update_rlp_node_level (#12046) 2024-10-28 10:44:36 +00:00
0f86287b65 fix(trie): sparse trie walk should be done in a sorted manner (#12087) 2024-10-28 10:09:47 +00:00
777417ad8a feat: add reth test-vectors compact --write|--read (#11954) 2024-10-24 18:34:12 +00:00
2d83f20489 chore: reuse alloy-primitives logs bloom (#12031) 2024-10-24 11:12:13 +00:00
b73261936e chore(trie): prefix set doc comment clarification (#12010) 2024-10-23 15:59:22 +00:00
f3853e71b3 test(trie): get sparse trie nodes at depth (#12007) 2024-10-23 15:22:59 +00:00
e98a050dc7 fix(trie): account for existing nodes when revealing a node (#11836) 2024-10-23 14:27:52 +00:00
e70b112420 feat(trie): update sparse trie hashes below level (#11969) 2024-10-22 18:04:58 +00:00
8b1dfcca3f test(trie): proptest <-> alloy maps integration (#11962) 2024-10-22 14:56:17 +00:00
b3015c75b1 fix(trie): removing a blinded leaf should result in an error (#11869)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-10-22 13:31:37 +00:00
bddd3202e4 test(trie): narrow the range of keys for sparse trie fuzz (#11937) 2024-10-21 19:04:09 +00:00
cf4a4454ec fix: feature propagation (#11888)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver <onbjerg@users.noreply.github.com>
2024-10-19 20:36:11 +00:00
e2ecb6224d chore: remove unused deps (#11898) 2024-10-19 16:54:07 +00:00
0c70f6bd35 primitives: use alloy KECCAK_EMPTY constant (#11851) 2024-10-18 08:25:22 +00:00
4254b80a89 bench(trie): avoid unnecessary clones in hash builder repeated bench (#11827) 2024-10-17 10:27:57 +00:00
bac244ae97 feat(trie): sparse trie leaf removal (#11752)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-10-17 10:20:56 +00:00
63a75fdd95 fix(trie): intermediate trie node hashes (#11826) 2024-10-17 08:07:45 +00:00