Commit Graph

954 Commits

Author SHA1 Message Date
Federico Gimenez
bacc61e567 feat: provide CanonicalInMemory state as input to EngineHandler (#9764) 2024-07-24 14:29:39 +00:00
Dan Cline
21335d65d0 feat: move hashed state and trie writing to provider (#9636) 2024-07-24 14:26:03 +00:00
Dan Cline
6ce7c9e3a3 chore: add static file helpers on StorageWriter (#9740) 2024-07-23 22:15:08 +00:00
Emilia Hane
b2b3ff8128 fix(op):skip db consistency check for op mainnet (#9737)
Co-authored-by: Russel Waters <6511720+argakiig@users.noreply.github.com>
2024-07-23 21:12:07 +00:00
Federico Gimenez
2209381de9 feat: add new BlockchainProvider type (#9656) 2024-07-23 16:17:53 +00:00
Federico Gimenez
c5ceee352a chore: move chain state notifications to reth-chain-state crate (#9730) 2024-07-23 14:38:35 +00:00
Dan Cline
23ff37124d chore: combine static file and database services (#9713) 2024-07-23 13:59:20 +00:00
Dan Cline
ed16643f12 chore: remove proptest-derive dev deps (#9719) 2024-07-22 21:41:25 +00:00
Dan Cline
8c690eef95 chore: remove ownership requirement for static file methods (#9709) 2024-07-22 19:07:50 +00:00
Dan Cline
5c30227d33 docs: add pruning related documentation for db service (#9711) 2024-07-22 17:41:37 +00:00
Federico Gimenez
059233327e feat: add state crate (#9701)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-07-22 13:20:24 +00:00
Roman Hodulák
5ec0c26980 refactor(trie): move state root database operations into extension trait (#9635)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-07-22 10:59:49 +00:00
Roman Krasiuk
146bca3e6f chore(trie): accept from block instead of range in hashed state (#9675) 2024-07-20 12:25:34 +00:00
Thomas Coratger
9b057037d9 refactor: some small refactoring (#9657) 2024-07-19 19:03:57 +00:00
Luca Provini
1a21d8b054 Get all checkpoints and stage name from db (#9650) 2024-07-19 15:19:24 +00:00
Roman Krasiuk
b01b2762d8 typo: state root error (#9641) 2024-07-19 09:16:30 +00:00
Miguel
85a4008b5a chore: rename variant of BlockSource (#9623)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-07-19 07:54:15 +00:00
nk_ysg
6aabf13bd2 chore(reth-db): no_std support (#9597) 2024-07-18 09:52:02 +00:00
Matthias Seitz
7b4bf59445 chore: disable reth-codec default feature (#9556) 2024-07-18 09:36:45 +00:00
Federico Gimenez
ce4d4bd43d feat: add canonical in memory state (#9588) 2024-07-18 07:30:43 +00:00
Matthias Seitz
c3347f323c feat: make to_compact borrow (#9488)
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
2024-07-17 20:50:28 +00:00
nk_ysg
a627dcd9bf chore: no_std in reth-codec (#9587) 2024-07-17 17:24:06 +00:00
joshieDo
38bc7a14a3 chore: use each prune segment method on remove_blocks_above (#9568) 2024-07-17 16:41:22 +00:00
joshieDo
89d0281ce3 chore: replace StoredBranchNode, StoredTrieMask and StoredHashBuilderValue types with Compact impl instead (#9573) 2024-07-17 12:06:05 +00:00
nk_ysg
0befab52c9 chore: remove serde support from reth-codec (#9570) 2024-07-17 11:37:45 +00:00
Dan Cline
539b4e4262 feat: rm HashedStateChanges, introduce StorageWriter::write_hashed_state (#9561) 2024-07-16 22:37:19 +00:00
Aurélien
9697ab2541 feat: bump alloy version (#9545)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-07-16 20:44:02 +00:00
Dan Cline
4381b0cd06 feat: impl remove_blocks_above to static file service (#9553) 2024-07-16 20:34:13 +00:00
Matthias Seitz
d5964cae0e chore(deps): move zstd to workspace (#9552) 2024-07-16 20:17:33 +00:00
joshieDo
0a1f652b2f feat: add StorageWriter standalone type (#9507) 2024-07-16 14:45:21 +00:00
Federico Gimenez
f93029719b feat: blockchain provider tree state integration (#9518)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2024-07-16 14:09:15 +00:00
Alexey Shekhirin
fcc6307ada feat(stages): unwind prune checkpoints (#9528) 2024-07-16 10:47:19 +00:00
Pelle
484dc916c1 Rename main codec to reth db codec (#9501) 2024-07-16 09:33:56 +00:00
Dan Cline
f7a3864300 docs: document Options in get_highest_* and ensure_invariants (#9529) 2024-07-15 20:46:38 +00:00
Dan Cline
466885a8b2 chore: rename terminal_difficulty to total_difficulty (#9530) 2024-07-15 20:16:05 +00:00
Roman Krasiuk
63e5dac0b6 feat(trie): write sorted hashed state (#9519) 2024-07-15 15:15:58 +00:00
greged93
e1404217ab feat: subscribe to finalized and safe headers (#9402)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-07-15 13:43:48 +00:00
Roman Krasiuk
499e0f10f7 feat(provider): hashed state methods for trie related providers (#9510) 2024-07-15 12:55:19 +00:00
Matthias Seitz
ad606bbda8 chore: rm redundant optimism feature (#9489) 2024-07-13 17:58:54 +00:00
Dan Cline
91aa8bb9d9 chore: remove BundleStateInit dup in take/get/remove_state methods (#9464) 2024-07-12 09:29:44 +00:00
Dan Cline
83f4768a4d chore: remove sender recovery dup in db provider (#9466) 2024-07-12 09:28:56 +00:00
Dan Cline
e8a6fe1808 feat: add remove_block_and_execution_range (#9432)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-07-11 21:01:40 +00:00
joshieDo
345798c77d chore: use DatabaseProviderRW instead of TX on *State*::write_to_db (#9460) 2024-07-11 21:01:07 +00:00
joshieDo
1c27262902 chore: move get methods to DatabaseProvider<DbTx> (#9454) 2024-07-11 20:27:33 +00:00
joshieDo
22df39a100 chore: use DatabaseProviderRW on StateWriter::write_to_storage instead of TX (#9449) 2024-07-11 19:54:41 +00:00
joshieDo
c31d69683d chore: use DatabaseProviderRW instead of TX on insert_genesis_header (#9452) 2024-07-11 18:56:20 +00:00
Matthias Seitz
8a0414fe28 test: ensure block reader traits are object safe (#9440) 2024-07-11 16:40:42 +02:00
Oliver
fc4c037e60 feat: eip-7702 (#9214)
Co-authored-by: Matthew Smith <m@lattejed.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2024-07-11 05:45:47 +00:00
Dan Cline
a29d8bdbdf feat: remove get or take usage (#9412) 2024-07-10 16:10:41 +00:00
Dan Cline
35ab924c03 feat: add get and take methods to db provider (#9406) 2024-07-09 20:19:28 +00:00