Commit Graph

49 Commits

Author SHA1 Message Date
27dab59ceb feat(trie): collect branch node hash masks when calculating a proof (#13129) 2024-12-04 20:34:37 +00:00
82b97a8dd3 chore: fix unused warning (#13090) 2024-12-03 09:46:41 +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
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
5dc914be80 chore: make cargo t compile for reth-trie-common (#12884) 2024-11-26 16:38:12 +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
6b088bd881 perf(engine): sparse trie calculation for state root task (#12843) 2024-11-25 14:15:12 +00:00
c8e5b233ef Use adjust_index_for_rlp from alloy (#12815) 2024-11-24 11:08:30 +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
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
129f3ba911 feat: introduce StateCommitment type (#11842) 2024-10-30 08:48:43 +00:00
777417ad8a feat: add reth test-vectors compact --write|--read (#11954) 2024-10-24 18:34:12 +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
0c70f6bd35 primitives: use alloy KECCAK_EMPTY constant (#11851) 2024-10-18 08:25:22 +00:00
3cb4bf266d chore(deps): bump alloy-trie 0.7 (#11362)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-10-15 10:53:34 +00:00
f684dd4c4c chore(clippy): enable if_then_some_else_none lint (#11679)
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-10-14 15:45:26 +00:00
17aa3d61f6 fix(trie): witness empty root node (#10972) 2024-09-30 08:08:45 +00:00
d8f16b83b7 perf(trie): use unstable sort when sorting for computing roots (#11301) 2024-09-27 18:37:23 +00:00
77992e3254 deps: alloy-trie@0.6.0 (#11260) 2024-09-26 18:30:48 +00:00
c7a18fd078 chore(trie-common): make tests run without arbitrary (#11142) 2024-09-23 22:40:27 +00:00
ad76d89a27 chore: early return EMPTY_ROOT_HASH (#10957) 2024-09-17 13:45:47 +00:00
06dbd3a610 feat(trie): expose multiproof via StateProofProvider (#10915) 2024-09-16 09:52:15 +00:00
f6b2021440 dev: remove unused dev-deps (#10813) 2024-09-11 00:45:20 +00:00
282a96a70d trie: add unit tests for TrieAccount (#10802) 2024-09-10 10:20:05 +00:00
9c57c4a454 clippy: add redundant_else clippy lint (#10525)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-26 09:40:10 +00:00
330f73b7ec refactor: remove #[reth_codec] and #[derive_arbitrary] macros (#10263) 2024-08-12 14:23:50 +00:00
75a501e9fa chore: derive serde traits (#10198) 2024-08-08 16:48:59 +00:00
58a5d26469 trie: add Default impl for AccountProof (#10132) 2024-08-06 11:54:26 +00:00
61500238fb dep: rm unused dependencies (#10099)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-06 00:46:46 +00:00
2c2a782bb8 feat(trie): witness (#9803) 2024-07-30 20:18:20 +00:00
c1b5410867 feat(trie): multiproof (#9804) 2024-07-25 15:33:28 +00:00
ed16643f12 chore: remove proptest-derive dev deps (#9719) 2024-07-22 21:41:25 +00:00
9b057037d9 refactor: some small refactoring (#9657) 2024-07-19 19:03:57 +00:00
c3347f323c feat: make to_compact borrow (#9488)
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
2024-07-17 20:50:28 +00:00
89d0281ce3 chore: replace StoredBranchNode, StoredTrieMask and StoredHashBuilderValue types with Compact impl instead (#9573) 2024-07-17 12:06:05 +00:00
484dc916c1 Rename main codec to reth db codec (#9501) 2024-07-16 09:33:56 +00:00
c885257e52 clippy: rm outdated clippy allow (#9070) 2024-06-25 11:17:32 +02:00
8492ab3d52 chore: remove proptest arbitrary from codec derive and tests (#8968) 2024-06-20 23:02:07 +00:00
55831500cf chore(deps): bump interprocess and others (#8982) 2024-06-20 15:37:35 +00:00
fc770423b3 fix(ci): add missing const fn (#8822) 2024-06-14 10:07:39 +00:00
76c8f4842c chore: move proof types and root functions from primitives/proofs into reth-trie-common (#8724)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-06-13 16:36:18 +00:00