Commit Graph

431 Commits

Author SHA1 Message Date
d5c6f1a54c fix(witness): allow no storage multiproof (#10656) 2024-09-02 14:04:25 +00:00
d5906f3f89 test(trie): improve in-memory nodes fuzz tests (#10479) 2024-09-02 10:34:51 +00:00
38087a09f9 perf(trie): remove some clones (#10406) 2024-08-26 12:13:59 +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
29058ad7ee clippy: add cloned_instead_of_copied clippy lint (#10530)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver <onbjerg@users.noreply.github.com>
2024-08-26 09:04:19 +00:00
cb6e5ed831 fix(trie): consider all intermediate nodes invalidated for wiped storage (#10476) 2024-08-26 08:03:44 +00:00
3e3f33299d fix(trie): take earliest value in HashedStorage::from_reverts (#10475) 2024-08-23 05:50:37 +00:00
72293c9d7a chore(trie): remove PrefixSetMut::contains (#10466) 2024-08-23 05:48:48 +00:00
ae0c7beb28 feat(trie): hashed state from cache (#10455) 2024-08-22 18:42:17 +00:00
f4255216c7 fix(trie): filter out removed nodes on extend (#10433) 2024-08-22 05:22:55 +00:00
1f6993d770 test(trie): fuzz in-memory storage nodes (#10413) 2024-08-21 14:21:01 +00:00
1e52ef9486 fix(trie): skip cleared storage database lookup on InMemoryStorageTrieCursor::next (#10412) 2024-08-21 09:37:02 +00:00
457439ea2b fix(trie): clear all deleted storage nodes on extend (#10411) 2024-08-21 09:36:54 +00:00
a6689e637f fix(trie): filter in-memory storage node on seek_exact (#10410) 2024-08-21 07:39:47 +00:00
297934fe21 feat(rpc): get_account (#10369) 2024-08-19 11:29:17 +00:00
153a3e352d feat: add impl From GenesisAccount to Account (#10256) 2024-08-17 21:47:54 +00:00
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