Commit Graph

727 Commits

Author SHA1 Message Date
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
greged93
a4c30ead7e test: CanonChainTracker implementation for BlockchainProvider2 (#10378) 2024-08-22 12:18:00 +00:00
greged93
cdc39a744e fix: range update (#10424) 2024-08-22 03:08:27 +00:00
Alexey Shekhirin
3da119b1ac test(provider): RequestsProvider of BlockchainProvider2 (#10356) 2024-08-21 20:58:49 +00:00
Alexey Shekhirin
94db8cdc03 test(provider): ChangeSetReader of BlockchainProvider2 (#10415) 2024-08-21 15:02:47 +00:00
greged93
f0197a5571 test: ReceiptProviderIdExt (#10420) 2024-08-21 14:01:38 +00:00
greged93
ae8ce20c0b fix: block_range (#10418) 2024-08-21 12:27:06 +00:00
Thomas Coratger
e2ea8ac28c test: BlockReader implementation of BlockchainProvider2<DB> (#10370) 2024-08-21 08:48:50 +00:00
Jennifer
d9936a96e2 Use more appropriate names for forkchoice subscriptions (#10401) 2024-08-21 08:47:33 +00:00
greged93
9c71fa8485 test: BlockReaderIdExt implementation for BlockchainProvider2 (#10376) 2024-08-20 15:16:43 +00:00
unitezen
d2010d5d25 feat: add ForkChoiceSubscriptions to FullProvider supertrait (#10319) 2024-08-20 08:44:21 +00:00
unitezen
387ce3efae feat(provider): implement ForkChoiceSubscriptions for BlockchainProvider2 (#10318) 2024-08-20 07:22:08 +00:00
greged93
7f6aa433c9 feat: light cleaning (#10385) 2024-08-20 04:26:29 +00:00
Alexey Shekhirin
f67608d9fa test(provider): BlockNumReader of BlockchainProvider2 (#10354) 2024-08-17 23:00:46 +00:00
Miguel Tavares
153a3e352d feat: add impl From GenesisAccount to Account (#10256) 2024-08-17 21:47:54 +00:00
Alexey Shekhirin
71bf5a1d73 test(provider): HeaderProvider of BlockchainProvider2 (#10330) 2024-08-17 17:44:26 +00:00
Alexey Shekhirin
741b65f8bd test(provider): BlockHashReader of BlockchainProvider2 (#10335) 2024-08-17 17:08:43 +00:00
Alexey Shekhirin
821d3e611d feat(provider): receipt and transaction by id in BlockchainProvider2 (#10281) 2024-08-15 19:22:05 +00:00
Alexey Shekhirin
9f1567011b feat(provider): BlockchainProvider2::transaction_id (#10296) 2024-08-15 18:18:24 +00:00
Alexey Shekhirin
c2808f1164 feat(provider): BlockchainProvider2::account_block_changeset (#10311) 2024-08-15 00:32:53 +00:00
Alexey Shekhirin
4421565000 fix(provider): range methods in BlockchainProvider2 (#10300) 2024-08-14 19:19:24 +00:00
Roman Krasiuk
834858caee chore: remove rlp derivation from sealed block (#10287) 2024-08-13 23:01:03 +00:00
Federico Gimenez
80e79bdfa4 feat: return empty list for post-merge blocks in BlockchainProvider2::ommers (#10286) 2024-08-13 20:33:37 +00:00
Darshan Kathiriya
91c1df379d fix: make RequestsProvider method aware of in-memory state (#10252) 2024-08-13 19:57:37 +00:00
Roman Krasiuk
ac3d62ba02 perf(tree): re-use intermediate nodes (#9836) 2024-08-13 19:57:22 +00:00
Roy
25ab85c5a7 feat: ForkChoiceNotifications for BlockchainProvider and NoopProvider (#10231)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-10 14:35:42 +00:00
Dan Cline
2840a95785 fix: make WithdrawalsProvider methods aware of in-memory state (#10245) 2024-08-09 20:47:18 +00:00