Commit Graph

608 Commits

Author SHA1 Message Date
Dan Cline
527cc4460b feat: remove StateChanges and StateReverts (#9781) 2024-07-24 21:53:54 +00:00
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
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
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
Federico Gimenez
ce4d4bd43d feat: add canonical in memory state (#9588) 2024-07-18 07:30:43 +00:00
joshieDo
38bc7a14a3 chore: use each prune segment method on remove_blocks_above (#9568) 2024-07-17 16:41:22 +00:00
Dan Cline
539b4e4262 feat: rm HashedStateChanges, introduce StorageWriter::write_hashed_state (#9561) 2024-07-16 22:37:19 +00:00
Dan Cline
4381b0cd06 feat: impl remove_blocks_above to static file service (#9553) 2024-07-16 20:34:13 +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
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
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
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
Dan Cline
022d481a72 feat: add DatabaseProvider remove method (#9405) 2024-07-09 19:23:27 +00:00
Dan Cline
83ce56e8a8 feat: make unwind_table_by_walker take RangeBounds (#9404) 2024-07-09 19:23:18 +00:00
joshieDo
b4577597c5 chore: remove test-utils, arbitrary and proptest from built binary (#9332) 2024-07-06 12:02:43 +00:00
Roman Krasiuk
c13af1e6d1 feat: implement HistoricalStateProviderRef::proof (#9327) 2024-07-05 11:43:24 +00:00
Roman Krasiuk
36d74400e6 feat(trie): pass state reference to StateProofProvider::proof (#9308) 2024-07-05 10:45:08 +00:00
Roman Krasiuk
21a9dfc9ec chore(evm): turn associated ConfigureEvm fns into methods (#9322) 2024-07-05 09:26:03 +00:00
Roman Krasiuk
4447f658a9 feat(trie): allow setting hashed cursor factory on Proof (#9304) 2024-07-04 15:53:22 +00:00
Roman Krasiuk
e8af47636c feat: extract proof generation into StateProofProvider (#9303) 2024-07-04 15:06:48 +00:00
Emilia Hane
335b93425e chore(rpc): EthApi builder (#9041)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-07-03 15:30:29 +00:00
Roman Krasiuk
1998f44b1b trie: revamp trie updates (#9239) 2024-07-03 14:38:48 +00:00
Dan Cline
405b730455 chore: remove prune_modes from BlockWriter (#9231) 2024-07-02 19:40:07 +00:00
joshieDo
9d4722eb65 chore: remove unused static-file code (#9178) 2024-07-01 15:24:51 +00:00
Alexey Shekhirin
9129b97c5b feat(exex): backfill executor (#9123) 2024-06-28 15:22:42 +00:00
Alexey Shekhirin
ce8bcd8f1c chore(storage, provider): rename bundle state with receipts (#9160) 2024-06-28 08:02:25 +00:00