Commit Graph

793 Commits

Author SHA1 Message Date
3bd695ee63 feat: update el requests for devnet 4 (#11865)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-10-19 12:48:35 +00:00
eee5e0d41f bump rust to 1.82 (#11876) 2024-10-18 20:08:09 +00:00
3bc3e71699 primitives: use EMPTY_OMMER_ROOT_HASH const when possible (#11833) 2024-10-17 11:21:40 +00:00
e828b34ed1 chore: rm features from test utils (#11816) 2024-10-17 03:06:23 +00:00
b57a5607cb test: make provider compile with cargo t (#11817) 2024-10-17 03:05:26 +00:00
82862fabd7 primitives: rm redundant functions for Transaction (#11747) 2024-10-16 20:33:57 +00:00
d421931b7e trie: simplify usage of HashedStorage with default (#11662) 2024-10-16 10:31:23 +00:00
a6358d2e6f feat(provider): add *StateProviderRef creation methods to DatabaseProvider (#11776) 2024-10-16 08:52:56 +00:00
183cea4577 chore(provider): move state_provider_from_state to BlockState impl (#11777) 2024-10-16 08:13:30 +00:00
3ab1f9559e feat: replace once_cell with std (#11694)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-10-15 08:21:01 +00:00
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