Commit Graph

465 Commits

Author SHA1 Message Date
85cdf01d29 fix(trie): exclude trie updates for root node (#10306) 2024-08-17 17:34:50 +00:00
ac3d62ba02 perf(tree): re-use intermediate nodes (#9836) 2024-08-13 19:57:22 +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
106a0c7cf7 refactor: replace once_cell Lazy with LazyLock (#9844)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver <onbjerg@users.noreply.github.com>
2024-08-08 14:20:42 +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
44028076ff feat : add storage_root provider function for account (#9659)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-08-02 07:19:12 +00:00
7069efc751 refactor(trie): remove dependency on reth-db and reth-db-api (#10008) 2024-08-01 22:53:40 +00:00
f73a919a4a refactor(trie): move database implementations of trie cursors to reth-trie-db crate (#10004) 2024-08-01 20:36:36 +00:00
217c21762e refactor(trie): move hashed post state database transaction related functions to reth-trie-db crate (#9987) 2024-08-01 19:17:19 +00:00
de0bbb422d chore(trie): move PrefixSetLoader to db crate (#9985) 2024-08-01 13:19:19 +00:00
6a19d275b3 refactor(trie): use reth-storage-errors for DatabaseError type (#9951) 2024-07-31 17:22:57 +00:00
611a0292f9 chore: move write_hashed_state from StorageWriter to trait StateChangeWriter (#9927) 2024-07-31 13:37:13 +00:00
fd1ca7380d feat(trie): database trie witness (#9913) 2024-07-30 22:01:50 +00:00
2c2a782bb8 feat(trie): witness (#9803) 2024-07-30 20:18:20 +00:00
5688739499 feat(trie): allow passing intermediate nodes to overlay state root (#9839) 2024-07-26 15:33:19 +00:00
efcc77ef44 feat(trie): trie node update extension (#9838) 2024-07-26 15:03:20 +00:00
c1a8791a4f chore(trie): database trie cursor factory wrapper (#9831) 2024-07-26 13:57:01 +00:00
c1b5410867 feat(trie): multiproof (#9804) 2024-07-25 15:33:28 +00:00
22a25caed8 refactor(trie): move proof database related operations to an extension trait in reth-trie-db crate (#9743) 2024-07-25 14:59:04 +00:00
21335d65d0 feat: move hashed state and trie writing to provider (#9636) 2024-07-24 14:26:03 +00:00
e7ac0edcf0 refactor(trie): move storage root database operations into an extension trait in the reth-db-trie crate (#9721) 2024-07-23 12:58:05 +00:00
ed16643f12 chore: remove proptest-derive dev deps (#9719) 2024-07-22 21:41:25 +00:00
f2279a81c0 chore(trie): introduce wrapper struct for hashed cursor related impls (#9707) 2024-07-22 16:01:06 +00:00
5ec0c26980 refactor(trie): move state root database operations into extension trait (#9635)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-07-22 10:59:49 +00:00
146bca3e6f chore(trie): accept from block instead of range in hashed state (#9675) 2024-07-20 12:25:34 +00:00
9b057037d9 refactor: some small refactoring (#9657) 2024-07-19 19:03:57 +00:00
85b65db14e feat(trie): add empty reth-trie-db crate (#9585) 2024-07-18 10:15:18 +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
539b4e4262 feat: rm HashedStateChanges, introduce StorageWriter::write_hashed_state (#9561) 2024-07-16 22:37:19 +00:00
484dc916c1 Rename main codec to reth db codec (#9501) 2024-07-16 09:33:56 +00:00
63e5dac0b6 feat(trie): write sorted hashed state (#9519) 2024-07-15 15:15:58 +00:00
b1da0f703c feat(trie): sorted iterators for updated hashed state entries (#9516) 2024-07-15 13:41:11 +00:00
da0efbe0d4 feat(trie): reimplement in-memory trie cursors (#9305) 2024-07-12 14:55:28 +00:00
345798c77d chore: use DatabaseProviderRW instead of TX on *State*::write_to_db (#9460) 2024-07-11 21:01:07 +00:00
f37725f080 feat(trie): HashedPostState::account_proof (#9319) 2024-07-04 20:53:45 +00:00
1fcd819461 feat(trie): allow supplying prefix sets to Proof (#9317) 2024-07-04 18:38:42 +00:00
4447f658a9 feat(trie): allow setting hashed cursor factory on Proof (#9304) 2024-07-04 15:53:22 +00:00
a6430d48fd chore(trie): return mutable prefix sets from HashedPostState::construct_prefix_sets (#9306) 2024-07-04 15:16:47 +00:00
0373c5875a chore(trie): revamp inner in-memory trie cursor representation (#9287) 2024-07-04 09:08:24 +00:00
4dc832ab00 chore: Expose TrieUpdates inner fields (#9277) 2024-07-03 21:05:38 +00:00
1998f44b1b trie: revamp trie updates (#9239) 2024-07-03 14:38:48 +00:00
ad8ec33dc3 chore(trie): return nibbles from TrieCursor::current (#9227) 2024-07-01 17:39:00 +00:00
984e89efeb feat(clippy): add iter_without_into_iter (#9195)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-07-01 16:56:55 +00:00
898d17bb91 chore(trie): store only deleted keys in TrieWalker (#9226) 2024-07-01 16:06:16 +00:00
db191c82a5 chore(trie): clean up trie update operation matching (#9202) 2024-07-01 13:07:23 +00:00
2a9fa4869e chore(trie): rename in-memory trie cursors (#9203) 2024-06-30 20:09:41 +00:00
6e564cd064 chore(trie): remove database-related types from trie keys (#9175) 2024-06-28 16:45:06 +00:00