Commit Graph

200 Commits

Author SHA1 Message Date
Roman Krasiuk
2c2a782bb8 feat(trie): witness (#9803) 2024-07-30 20:18:20 +00:00
Roman Krasiuk
5688739499 feat(trie): allow passing intermediate nodes to overlay state root (#9839) 2024-07-26 15:33:19 +00:00
Roman Krasiuk
efcc77ef44 feat(trie): trie node update extension (#9838) 2024-07-26 15:03:20 +00:00
Roman Krasiuk
c1a8791a4f chore(trie): database trie cursor factory wrapper (#9831) 2024-07-26 13:57:01 +00:00
Roman Krasiuk
c1b5410867 feat(trie): multiproof (#9804) 2024-07-25 15:33:28 +00:00
Roman Hodulák
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
Dan Cline
21335d65d0 feat: move hashed state and trie writing to provider (#9636) 2024-07-24 14:26:03 +00:00
Roman Hodulák
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
Dan Cline
ed16643f12 chore: remove proptest-derive dev deps (#9719) 2024-07-22 21:41:25 +00:00
Roman Krasiuk
f2279a81c0 chore(trie): introduce wrapper struct for hashed cursor related impls (#9707) 2024-07-22 16:01:06 +00:00
Roman Hodulák
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
Roman Krasiuk
146bca3e6f chore(trie): accept from block instead of range in hashed state (#9675) 2024-07-20 12:25:34 +00:00
Thomas Coratger
9b057037d9 refactor: some small refactoring (#9657) 2024-07-19 19:03:57 +00:00
Roman Hodulák
85b65db14e feat(trie): add empty reth-trie-db crate (#9585) 2024-07-18 10:15:18 +00:00
Matthias Seitz
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
joshieDo
89d0281ce3 chore: replace StoredBranchNode, StoredTrieMask and StoredHashBuilderValue types with Compact impl instead (#9573) 2024-07-17 12:06:05 +00:00
Dan Cline
539b4e4262 feat: rm HashedStateChanges, introduce StorageWriter::write_hashed_state (#9561) 2024-07-16 22:37:19 +00:00
Pelle
484dc916c1 Rename main codec to reth db codec (#9501) 2024-07-16 09:33:56 +00:00
Roman Krasiuk
63e5dac0b6 feat(trie): write sorted hashed state (#9519) 2024-07-15 15:15:58 +00:00
Roman Krasiuk
b1da0f703c feat(trie): sorted iterators for updated hashed state entries (#9516) 2024-07-15 13:41:11 +00:00
Roman Krasiuk
da0efbe0d4 feat(trie): reimplement in-memory trie cursors (#9305) 2024-07-12 14:55:28 +00:00
joshieDo
345798c77d chore: use DatabaseProviderRW instead of TX on *State*::write_to_db (#9460) 2024-07-11 21:01:07 +00:00
Roman Krasiuk
f37725f080 feat(trie): HashedPostState::account_proof (#9319) 2024-07-04 20:53:45 +00:00
Roman Krasiuk
1fcd819461 feat(trie): allow supplying prefix sets to Proof (#9317) 2024-07-04 18:38:42 +00:00
Roman Krasiuk
4447f658a9 feat(trie): allow setting hashed cursor factory on Proof (#9304) 2024-07-04 15:53:22 +00:00
Roman Krasiuk
a6430d48fd chore(trie): return mutable prefix sets from HashedPostState::construct_prefix_sets (#9306) 2024-07-04 15:16:47 +00:00
Roman Krasiuk
0373c5875a chore(trie): revamp inner in-memory trie cursor representation (#9287) 2024-07-04 09:08:24 +00:00
clabby
4dc832ab00 chore: Expose TrieUpdates inner fields (#9277) 2024-07-03 21:05:38 +00:00
Roman Krasiuk
1998f44b1b trie: revamp trie updates (#9239) 2024-07-03 14:38:48 +00:00
Roman Krasiuk
ad8ec33dc3 chore(trie): return nibbles from TrieCursor::current (#9227) 2024-07-01 17:39:00 +00:00
Thomas Coratger
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
Roman Krasiuk
898d17bb91 chore(trie): store only deleted keys in TrieWalker (#9226) 2024-07-01 16:06:16 +00:00
Roman Krasiuk
db191c82a5 chore(trie): clean up trie update operation matching (#9202) 2024-07-01 13:07:23 +00:00
Roman Krasiuk
2a9fa4869e chore(trie): rename in-memory trie cursors (#9203) 2024-06-30 20:09:41 +00:00
Roman Krasiuk
6e564cd064 chore(trie): remove database-related types from trie keys (#9175) 2024-06-28 16:45:06 +00:00
Darshan Kathiriya
3fd5df3d00 feat(trie): in-memory trie node overlay (#8199)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-06-28 07:54:36 +00:00
Roman Krasiuk
9fd2cf027f chore: rename TrieCursorFactory::storage_tries_cursor to TrieCursorFactory::storage_trie_cursor (#9145) 2024-06-27 18:41:31 +00:00
Roman Krasiuk
7a82f4eaec feat(trie): forward-only in-memory cursor (#9079) 2024-06-27 09:43:29 +00:00
Roman Krasiuk
6e146e1140 chore(trie): hold direct reference to hashed accounts in cursor (#9078) 2024-06-25 13:23:58 +00:00
Roman Krasiuk
e2015143b3 chore(trie): add helpers to return trie keys as variants (#9075) 2024-06-25 11:57:28 +00:00
Roman Krasiuk
6dffb92c0b perf(trie): hold direct reference to post state storage in the cursor (#9077) 2024-06-25 11:57:26 +00:00
Roman Krasiuk
aac16ac606 chore(trie): TrieOp::as_update (#9076) 2024-06-25 09:07:18 +00:00
Thomas Coratger
c885257e52 clippy: rm outdated clippy allow (#9070) 2024-06-25 11:17:32 +02:00
Dan Cline
8492ab3d52 chore: remove proptest arbitrary from codec derive and tests (#8968) 2024-06-20 23:02:07 +00:00
DaniPopes
55831500cf chore(deps): bump interprocess and others (#8982) 2024-06-20 15:37:35 +00:00
Alexey Shekhirin
554e8b1913 feat(exex): derive serde ser/deser for ExExNotification (#8963) 2024-06-20 10:33:53 +00:00
joshieDo
b5b15f03a0 chore: remove revm/compat from reth-primitives (#8960) 2024-06-19 16:42:54 +00:00
joshieDo
2a5c93fab3 chore: use reth_chainspec where possible (#8891) 2024-06-17 16:09:09 +00:00
joshieDo
fc770423b3 fix(ci): add missing const fn (#8822) 2024-06-14 10:07:39 +00:00
joshieDo
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