Commit Graph

725 Commits

Author SHA1 Message Date
joshieDo
c2019e35de feat: allow syncing op-mainnet with only state and without importing blocks/receipts (#10850)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-09-18 17:10:38 +00:00
Håvard Anda Estensen
80c1159cb8 storage: replace reth-primitive imports (#10981)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-09-18 16:14:53 +00:00
Thomas Coratger
5e9f38164d evm: use Header AT in ConfigureEvmEnv (#10968) 2024-09-17 23:03:15 +00:00
nk_ysg
acdb2050a7 chore(reth-provider): use Vec::with_capacity (#10912) 2024-09-17 09:37:51 +00:00
joshieDo
66848d98ef feat: use DbProvider on UnifiedStorageWriter (#10933) 2024-09-16 13:49:24 +00:00
Arsenii Kulikov
0fa8e83e16 refactor: make reth-prune independent of concrete DatabaseProvider (#10921) 2024-09-16 11:46:53 +00:00
Roman Krasiuk
06dbd3a610 feat(trie): expose multiproof via StateProofProvider (#10915) 2024-09-16 09:52:15 +00:00
Roman Krasiuk
fdd64972b9 feat(trie): integrate TrieInput into StateProofProvider methods (#10929) 2024-09-16 09:18:23 +00:00
Roman Krasiuk
b0eb78ced6 feat(trie): TrieInput (#10918) 2024-09-16 08:04:17 +00:00
DaniPopes
b23bb7e8bc perf: improve genesis handling (#10878) 2024-09-13 17:48:44 +00:00
Arsenii Kulikov
75c6295d29 chore: separate trait for conversion into state provider (#10858) 2024-09-13 17:03:52 +00:00
joshieDo
8ddbd30df9 fix(cli): remove static file providers from cache on reth db stats (#10887) 2024-09-13 14:53:39 +00:00
joshieDo
d3acd09be2 chore: remove unnecessary segment argument from StaticFileProviderRW (#10882) 2024-09-13 12:23:45 +00:00
Roman Krasiuk
acdb7b7e2e perf(engine): parallel storage roots (#10666) 2024-09-12 13:12:05 +00:00
Thomas Coratger
2b75415a00 execution: make ConfigureEvm independent of chainspec argument (#10748)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-09-11 13:50:42 +00:00
Arsenii Kulikov
d11bbe686b refactor: reduce ProviderFactory usage (#10798) 2024-09-11 09:36:34 +02:00
Alexxxxxx
dbf5d48a82 fix: unwind_to should be exclusive (#10738)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-09-06 16:03:33 +00:00
Jennifer
5af62b75d4 test(provider): Add unit tests for stateproviderfactory (#10697) 2024-09-05 20:20:36 +00:00
Dan Cline
60bc403f08 fix(tree): remove_blocks fixes, return hash and number in persistence task (#10678) 2024-09-05 16:35:16 +00:00
joshieDo
e8128a3c85 feat: add directory watcher to StaticFileProvider::read_only (#10701) 2024-09-05 16:32:37 +00:00
Arsenii Kulikov
5ecc9d2348 feat: integrate NodeTypesWithDB (#10698)
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
2024-09-05 15:17:28 +00:00
Arsenii Kulikov
a1d9ece3be feat: NodeTypesWithDB (#10683) 2024-09-04 17:56:22 +00:00
nk_ysg
2c28438505 chore: remove PerfectHasingFunction Filters (#10627)
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
2024-09-04 14:46:46 +00:00
Dan Cline
fd8ca17076 feat(tree): introduce executed_block_by_hash (#10553)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-09-03 18:11:37 +00:00
Jennifer
df93e7515b test (provider): receiptProvider impl of BlockchainProvider2<DB> (#10651) 2024-09-03 15:31:32 +00:00
Dan Cline
5744ad1fa0 feat: impl StateReader for BlockchainProvider2 (#10618) 2024-09-03 15:24:02 +00:00
Tien Nguyen
857f97e3a3 chore(storage): remove unnecessary check empty vec (#10671) 2024-09-03 09:03:11 +00:00
joshieDo
aa42dbcf30 fix: ensure receipts are written to storage during test setups (#10660) 2024-09-02 17:22:26 +00:00
joshieDo
d58cf53850 fix(provider): move consistency check methods from NippyJarWriter to NippyJarChecker (#10633) 2024-09-02 16:17:08 +00:00
Thomas Coratger
0dbab7af9f test: TransactionsProvider implementation of BlockchainProvider2<DB> (#10594) 2024-08-29 14:13:21 +00:00
Roman Krasiuk
6f086d1060 chore(trie): clean up state root methods (#10598) 2024-08-28 14:41:29 +00:00
Roman Krasiuk
29b02cc0e1 chore(trie): StorageRootProvider (#10592) 2024-08-28 12:56:47 +00:00
Roman Krasiuk
cf7416e2f2 chore(trie): remove plain state proof variant (#10593) 2024-08-28 12:00:46 +00:00
Jennifer
7ea748e2d3 refactor(provider): random_block and random_block_range functions (#10563) 2024-08-27 14:19:43 +00:00
Thomas Coratger
7a76fcbdb5 test: BlockReader implementation of BlockchainProvider2<DB> (#10557) 2024-08-27 10:39:05 +00:00
DaniPopes
38087a09f9 perf(trie): remove some clones (#10406) 2024-08-26 12:13:59 +00:00
Thomas Coratger
655495d8c3 clippy: add implicit_clone clippy lint (#10529)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver <onbjerg@users.noreply.github.com>
2024-08-26 11:34:31 +00:00
Thomas Coratger
709e7b73ce clippy: add if_not_else clippy lint (#10524)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-26 10:58:06 +00:00
Thomas Coratger
e0b994b06f storage: add test_block_body_indices for block_body_indices (#10429) 2024-08-26 10:21:58 +00:00
Thomas Coratger
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
Thomas Coratger
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
Roman Krasiuk
cb6e5ed831 fix(trie): consider all intermediate nodes invalidated for wiped storage (#10476) 2024-08-26 08:03:44 +00:00
joshieDo
8ba7821a49 fix(provider): check list size before calling range.nth (#10460) 2024-08-23 15:27:47 +00:00
joshieDo
23f9f4adf2 fix(provider): fix subtract overflow on block_state_by_tx_id (#10467) 2024-08-23 15:27:24 +00:00
Roman Krasiuk
debd1ebd32 fix(trie): collect revert state for historical storage root (#10465) 2024-08-23 05:48:22 +00:00
Jennifer
24495cdc5d Add tests for withdrawals provider (#10428) 2024-08-22 20:58:25 +00:00
Roman Krasiuk
ae0c7beb28 feat(trie): hashed state from cache (#10455) 2024-08-22 18:42:17 +00:00
Thomas Coratger
7fb9a04337 test: BlockIdReader implementation of BlockchainProvider2<DB> (#10362)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-08-22 12:54:37 +00:00
Rohit Narurkar
f686e0b45b Test CanonStateSubscriptions for BlockchainProvider2 (#10361)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-08-22 12:36:42 +00:00
Arsenii Kulikov
f2e0bc073a feat: ChainSpec associated type (#10292)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-22 12:30:09 +00:00