1200 Commits

Author SHA1 Message Date
Matthias Seitz
1ba631ba95 feat: store safe block num as well (#11648) 2024-10-10 19:32:15 +02:00
Matthias Seitz
fca1cd8181 fix: don't unwrap missing requests (#11646) 2024-10-10 16:54:06 +00:00
joshieDo
10eb1e8b3f chore(providers): test race condition on all BlockchainProvider2 macro tests (#11574) 2024-10-08 17:10:23 +00:00
joshieDo
67db43d0ac chore(provider): add more test coverage on BlockchainProvider non-range queries (#11564) 2024-10-08 13:17:57 +00:00
joshieDo
65e6683295 fix(provider): fix sub overflow on tx_range queries for empty blocks (#11568) 2024-10-08 12:54:47 +00:00
Roman Krasiuk
548f5b9c6d feat(trie): expose storage proofs (#11550) 2024-10-08 09:47:15 +00:00
Dan Cline
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
joshieDo
7842673903 feat(provider): add test_race to BlockchainProvider2 tests (#11523) 2024-10-07 09:06:28 +00:00
Emilia Hane
36de90fdc3 chore(lint): fix clippy::needles_lifetimes (#11496) 2024-10-05 11:08:08 +00:00
joshieDo
093b1a16df chore(provider): add more test coverage on BlockchainProvider::*by_block_range queries (#11488) 2024-10-04 18:57:44 +00:00
Emilia Hane
16bc9c8b49 chore(lint): fix lint storage (#11485) 2024-10-04 17:19:02 +00:00
joshieDo
a42cfbbae7 chore(provider): add more test coverage on BlockchainProvider::*by_tx_range queries (#11480) 2024-10-04 15:05:17 +00:00
Alexey Shekhirin
b537672886 chore(db): capture tx opening backtrace in debug mode (#11477) 2024-10-04 12:10:32 +00:00
joshieDo
b4d5adeeb1 chore: use block_ref on CanonicalInMemoryState (#11467) 2024-10-03 17:32:31 +00:00
joshieDo
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
joshieDo
96f1406a14 chore(provider): use block_ref instead on BlockState (#11458) 2024-10-03 13:48:37 +00:00
joshieDo
ac85fc0507 chore(provider): find last_database_block_number with BlockState anchor instead (#11455) 2024-10-03 13:19:02 +00:00
joshieDo
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
joshieDo
05a7bdc9ac chore(provider): use get_in_memory_or_storage on transactions_by_block_range (#11453) 2024-10-03 13:08:38 +00:00
joshieDo
73d5ce78c3 chore: replace Compact with bincode on ETL usage of SealedHeader (#11442) 2024-10-03 11:48:24 +00:00
Matthias Seitz
70d498d296 chore: make clippy happy (#11439) 2024-10-02 19:19:13 +00:00
joshieDo
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
joshieDo
2ca8231e73 chore(provider): dont recover sender from BlockState transaction on transaction_sender (#11424) 2024-10-02 13:55:07 +00:00
Federico Gimenez
e2f35ce6df chore: remove temporary allow attribute (#11428) 2024-10-02 13:05:02 +00:00
joshieDo
da23e1ce8d chore(provider): rename to get_in_memory_or_storage_by_block_range_while (#11421) 2024-10-02 12:23:02 +00:00
joshieDo
7c15326e0b feat: add get_in_memory_or_storage_by_block to BlockchainProvider2 (#11384) 2024-10-02 09:05:48 +00:00
Matthias Seitz
7cec526370 chore: make clippy happy (#11408) 2024-10-02 10:09:44 +02:00
Matthias Seitz
12554c426f fix: fetch header by hash (#11407) 2024-10-02 10:07:22 +02:00
Federico Gimenez
b9341a7b47 fix(tree): use in-memory data first to query total difficulty (#11382) 2024-10-01 18:57:32 +00:00
Matthias Seitz
2d221dbf49 fix: use pending state if available (#11391) 2024-10-01 18:34:14 +00:00
DaniPopes
b722272c49 chore(db): simplify Compact for Vec (#11361) 2024-10-01 17:44:59 +00:00
joshieDo
22ddc98c06 fix(provider): handle race on fn transaction_id (#11380) 2024-10-01 17:42:29 +00:00
DaniPopes
fbc01d6cfa chore(deps): bump some breaking deps (#11388) 2024-10-01 17:26:47 +00:00
greged93
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
joshieDo
b29d81c859 fix(provider): use canonical_chain on range lookups (#11332) 2024-10-01 12:29:04 +00:00
DaniPopes
68f0b0a08f perf(db): use Into to encode StoredNibbles (#11350) 2024-09-30 21:59:03 +00:00
Alexey Shekhirin
d6113e1040 feat(exex, primitives): serde bincode compatibility (#11331)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-09-30 21:20:43 +00:00
joshieDo
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
Dan Cline
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
lazymio
92aeff083b fix(libmdbx): Some options can only be set after mdbx_env_open (#11328) 2024-09-30 12:51:46 +00:00
Matthias Seitz
a5538bc041 chore: alloy 0.4 (#11334) 2024-09-30 12:48:37 +00:00
Thomas Coratger
e21d75f9aa primitives: rm more alloy_primitives reexports (#11325) 2024-09-30 01:06:47 +00:00
Thomas Coratger
ea1d04aa75 primitives: rm more alloy_primitives reexports (#11255) 2024-09-29 16:48:54 +00:00
Thomas Coratger
55bf29e6d2 use core::error::Error (#11317) 2024-09-29 16:47:48 +00:00
Arsenii Kulikov
2aa3dd0fd8 feat: use OpChainSpec in OptimismNode and its components (#11304) 2024-09-28 13:06:52 +00:00
DaniPopes
50265b15db chore: remove generics from Decode and Decompress (#11295) 2024-09-27 21:49:49 +00:00
DaniPopes
e48f2a29cd perf(db): cache ProcessUID::own in memory (#11302) 2024-09-27 21:49:46 +00:00
DaniPopes
e962983896 perf(db): use encode_to in Scale implementations (#11297) 2024-09-27 17:42:46 +00:00
DaniPopes
bf18fd927c perf: improve IntegerList API to avoid allocations (#11292) 2024-09-27 16:46:33 +00:00
DaniPopes
07e94e7fa5 perf(db): use smallvec for mdbx table names (#11291) 2024-09-27 15:20:43 +00:00