Commit Graph

1178 Commits

Author SHA1 Message Date
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
joshieDo
da6b1e7c64 feat(exex): write notification files atomically (#11264) 2024-09-26 21:23:09 +00:00
Thomas Coratger
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
nk_ysg
2e05ec008a move op storage tests into new crate reth-optimism-storage (#11233) 2024-09-26 15:42:05 +00:00
Matthias Seitz
6a7d8938c7 chore: update revm and alloy primitives (#11235)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-09-26 14:33:29 +00:00
Arsenii Kulikov
65f2664471 feat: make NetworkConfigBuilder independent of concrete ChainSpec (#11176) 2024-09-26 11:37:20 +00:00
Thomas Coratger
f2a508df34 primitives: rm more alloy_primitives reexports (#11222) 2024-09-26 11:29:18 +00:00
nk_ysg
ece0944070 reth-codec: remove unused derives from alloy compat types (#11231) 2024-09-26 09:02:10 +02:00
joshieDo
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
joshieDo
d891d402b7 feat(storage): add HeaderExt to compact Header (#11166) 2024-09-25 14:50:54 +00:00
Thomas Coratger
2022dd3de5 primitives: rm alloy_consensus::transaction reexports (#11191) 2024-09-25 12:13:48 +00:00
joshieDo
466f21acfa feat: verify unused bits on types derived with Compact (#11131) 2024-09-25 11:27:37 +00:00
Thomas Coratger
4884c0003a primitives: rm TxKind reexport (#11197) 2024-09-25 11:07:05 +00:00
Thomas Coratger
3bd966c594 primitives: rm alloy_genesis reexport (#11181) 2024-09-24 23:15:19 +00:00
Arsenii Kulikov
ae3d279cc3 feat: relax chainspec bounds on NodeBuilder and rpc types (#11160) 2024-09-24 17:47:04 +00:00
joshieDo
4da5f1f388 fix(storage): dont skip consistency checks for op-mainnet if using minimal bootstrap (#11099) 2024-09-24 15:10:44 +00:00
Rohit Narurkar
fb0555ae7d Refactor Block (#10913)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-09-24 10:14:08 +00:00
nk_ysg
68d76f6469 chore(codecs-derive): update should_use_alt_impl (#11148) 2024-09-24 07:54:15 +00:00
Aurélien
15aee9b144 feat: use alloy Signature type (#10758)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-09-23 13:29:48 +00:00
Thomas Coratger
ed1de8996d primitives: use alloy Header struct (#10691) 2024-09-23 12:53:43 +00:00
nk_ysg
bb27f37cc7 storage-api: update BlockReaderIdExt (#11110) 2024-09-23 09:47:15 +00:00
nk_ysg
52c72a3b1d use HashMap::with_capacity (#11106) 2024-09-22 15:26:54 +00:00
joshieDo
5113e29074 chore(storage): add test cases for Transactions and Receipts truncation (#11070) 2024-09-21 16:06:28 +00:00