Commit Graph

961 Commits

Author SHA1 Message Date
f684dd4c4c chore(clippy): enable if_then_some_else_none lint (#11679)
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-10-14 15:45:26 +00:00
c03399d1eb chore(ci): unpin clippy (#11697) 2024-10-13 09:25:56 +00:00
b51299b86b refac: small refactor in BlockchainProvider2 (#11660) 2024-10-11 18:22:20 +00:00
bca11aa2dd clippy: add from_iter_instead_of_collect warn (#11666) 2024-10-11 17:56:33 +00:00
1ba631ba95 feat: store safe block num as well (#11648) 2024-10-10 19:32:15 +02:00
fca1cd8181 fix: don't unwrap missing requests (#11646) 2024-10-10 16:54:06 +00:00
10eb1e8b3f chore(providers): test race condition on all BlockchainProvider2 macro tests (#11574) 2024-10-08 17:10:23 +00:00
67db43d0ac chore(provider): add more test coverage on BlockchainProvider non-range queries (#11564) 2024-10-08 13:17:57 +00:00
65e6683295 fix(provider): fix sub overflow on tx_range queries for empty blocks (#11568) 2024-10-08 12:54:47 +00:00
548f5b9c6d feat(trie): expose storage proofs (#11550) 2024-10-08 09:47:15 +00:00
4b12f3285a fix(tree): make state methods work for historical blocks (#11265)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: Federico Gimenez <fgimenez@users.noreply.github.com>
2024-10-07 09:12:35 +00:00
7842673903 feat(provider): add test_race to BlockchainProvider2 tests (#11523) 2024-10-07 09:06:28 +00:00
36de90fdc3 chore(lint): fix clippy::needles_lifetimes (#11496) 2024-10-05 11:08:08 +00:00
093b1a16df chore(provider): add more test coverage on BlockchainProvider::*by_block_range queries (#11488) 2024-10-04 18:57:44 +00:00
a42cfbbae7 chore(provider): add more test coverage on BlockchainProvider::*by_tx_range queries (#11480) 2024-10-04 15:05:17 +00:00
b4d5adeeb1 chore: use block_ref on CanonicalInMemoryState (#11467) 2024-10-03 17:32:31 +00:00
af465623cb chore(provider): clone after filtering on sealed_headers_while (#11459)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-10-03 17:38:00 +02:00
96f1406a14 chore(provider): use block_ref instead on BlockState (#11458) 2024-10-03 13:48:37 +00:00
ac85fc0507 chore(provider): find last_database_block_number with BlockState anchor instead (#11455) 2024-10-03 13:19:02 +00:00
8cd052c4d9 chore(provider): use get_in_memory_or_storage_by_block on fn block_body_indices (#11452) 2024-10-03 13:17:17 +00:00
05a7bdc9ac chore(provider): use get_in_memory_or_storage on transactions_by_block_range (#11453) 2024-10-03 13:08:38 +00:00
70d498d296 chore: make clippy happy (#11439) 2024-10-02 19:19:13 +00:00
5ec448ef94 feat: add get_in_memory_or_storage_by_tx_range (#11414)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-10-02 17:45:06 +00:00
2ca8231e73 chore(provider): dont recover sender from BlockState transaction on transaction_sender (#11424) 2024-10-02 13:55:07 +00:00
da23e1ce8d chore(provider): rename to get_in_memory_or_storage_by_block_range_while (#11421) 2024-10-02 12:23:02 +00:00
7c15326e0b feat: add get_in_memory_or_storage_by_block to BlockchainProvider2 (#11384) 2024-10-02 09:05:48 +00:00
7cec526370 chore: make clippy happy (#11408) 2024-10-02 10:09:44 +02:00
b9341a7b47 fix(tree): use in-memory data first to query total difficulty (#11382) 2024-10-01 18:57:32 +00:00
2d221dbf49 fix: use pending state if available (#11391) 2024-10-01 18:34:14 +00:00
22ddc98c06 fix(provider): handle race on fn transaction_id (#11380) 2024-10-01 17:42:29 +00:00
15e3e0e110 dev: block_with_senders on BlockState (#11363)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-10-01 13:40:09 +00:00
b29d81c859 fix(provider): use canonical_chain on range lookups (#11332) 2024-10-01 12:29:04 +00:00
6e1cc1b948 fix(provider): replace block_state_by_tx_id with get_in_memory_or_storage_by_tx_id (#11340) 2024-09-30 17:49:29 +00:00
09f0526e70 fix(providers): collect BlockState before constructing DB provider (#11338)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-09-30 15:50:15 +00:00
a5538bc041 chore: alloy 0.4 (#11334) 2024-09-30 12:48:37 +00:00
e21d75f9aa primitives: rm more alloy_primitives reexports (#11325) 2024-09-30 01:06:47 +00:00
ea1d04aa75 primitives: rm more alloy_primitives reexports (#11255) 2024-09-29 16:48:54 +00:00
bf18fd927c perf: improve IntegerList API to avoid allocations (#11292) 2024-09-27 16:46:33 +00:00
ad64de8962 primitives: rm more alloy_primitives reexports (#11250)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-09-26 16:18:56 +00:00
6a7d8938c7 chore: update revm and alloy primitives (#11235)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-09-26 14:33:29 +00:00
65f2664471 feat: make NetworkConfigBuilder independent of concrete ChainSpec (#11176) 2024-09-26 11:37:20 +00:00
f2a508df34 primitives: rm more alloy_primitives reexports (#11222) 2024-09-26 11:29:18 +00:00
4070498a1d fix(storage): only delete static file if last_block is on a previous static file (#11029)
Co-authored-by: Alexgao001 <alex.g@nodereal.io>
2024-09-25 16:38:29 +00:00
2022dd3de5 primitives: rm alloy_consensus::transaction reexports (#11191) 2024-09-25 12:13:48 +00:00
4884c0003a primitives: rm TxKind reexport (#11197) 2024-09-25 11:07:05 +00:00
ae3d279cc3 feat: relax chainspec bounds on NodeBuilder and rpc types (#11160) 2024-09-24 17:47:04 +00:00
4da5f1f388 fix(storage): dont skip consistency checks for op-mainnet if using minimal bootstrap (#11099) 2024-09-24 15:10:44 +00:00
fb0555ae7d Refactor Block (#10913)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-09-24 10:14:08 +00:00
15aee9b144 feat: use alloy Signature type (#10758)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-09-23 13:29:48 +00:00
ed1de8996d primitives: use alloy Header struct (#10691) 2024-09-23 12:53:43 +00:00