Commit Graph

57 Commits

Author SHA1 Message Date
joshieDo
cab76f2083 fix(engine): run pruner after saving blocks (#11927) 2024-10-22 11:39:08 +00:00
Matthias Seitz
1ba631ba95 feat: store safe block num as well (#11648) 2024-10-10 19:32:15 +02:00
Matthias Seitz
a4b8150201 fix: actually commit (#11626) 2024-10-10 08:15:53 +00:00
Matthias Seitz
2b97779880 fix: persist finalized block (#11623) 2024-10-10 00:54:39 +00:00
Abhishek kochar
a8220791ae chore(engine): replace reth_primitives with alloy_primitives (#11064)
Signed-off-by: Abhishekkochar <abhishekkochar2@gmail.com>
2024-09-20 03:50:42 +00:00
Arsenii Kulikov
180f10001c feat: make reth-stages independent of concrete DatabaseProvider (#10934)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-09-19 10:47:55 +00:00
Arsenii Kulikov
0fa8e83e16 refactor: make reth-prune independent of concrete DatabaseProvider (#10921) 2024-09-16 11:46:53 +00:00
Dan Cline
72c53b88bc fix(metrics): set sync metrics when blocks are added (#10799) 2024-09-10 11:43:03 +00:00
Dan Cline
cdd0f00079 chore(tree): make tree trace targets consistent (#10731) 2024-09-05 23:36:10 +00:00
Dan Cline
60bc403f08 fix(tree): remove_blocks fixes, return hash and number in persistence task (#10678) 2024-09-05 16:35:16 +00:00
Arsenii Kulikov
5ecc9d2348 feat: integrate NodeTypesWithDB (#10698)
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
2024-09-05 15:17:28 +00:00
Dan Cline
98b214f63d feat(tree): schedule block removal on disk reorgs (#10603) 2024-09-04 22:36:14 +00:00
Dan Cline
d59854f1dc fix(tree): replace debug_assert with relaxed removal logic (#10634)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-09-02 08:25:52 +00:00
malik
ec46fccece feat: track persistence metrics (#10250)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-08-20 09:29:07 +00:00
Dan Cline
1527dc03f7 chore: remove WriteTransactions from PersistenceAction (#10241) 2024-08-09 18:26:15 +00:00
Dan Cline
f7cb059c5f feat: add error tracing when persistence service fails (#10170)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-08-07 16:26:54 +00:00
Federico Gimenez
e20d94fe31 chore(engine): enable clippy checks (#10120) 2024-08-06 10:11:38 +00:00
Matthias Seitz
6008deb360 chore: rm redundant ( (#10112) 2024-08-05 22:43:52 +00:00
Federico Gimenez
444c7a961e fix: deadlock on StaticFileProvider::get_writer (#10069)
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
2024-08-05 14:12:36 +00:00
Dan Cline
1290260da3 chore: remove expects in persistence task (#10031) 2024-08-02 21:01:14 +00:00
joshieDo
06fbdd98d2 chore: use UnifiedStorageWriter::commit where possible (#10019) 2024-08-02 14:11:11 +00:00
joshieDo
333dbdeda2 chore: move remove_blocks_above to StorageWriter (#9997) 2024-08-01 17:06:44 +00:00
joshieDo
f3fac56fd9 chore: move save_blocks to StorageWriter (#9991) 2024-08-01 16:36:33 +00:00
joshieDo
30840b7b4a chore: combine persistence task removal methods (#9975) 2024-08-01 15:57:01 +00:00
joshieDo
3c2759dcc0 fix: only write receipts once on PersistenceService::save_blocks (#9976) 2024-08-01 10:50:44 +00:00
Dan Cline
93ab09821b feat: combine block writing in persistence task (#9960)
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
Co-authored-by: Federico Gimenez <fgimenez@users.noreply.github.com>
2024-08-01 09:59:35 +00:00
joshieDo
78c461ea4e fix: share DatabaseProviderRW on PersistenceAction::SaveBlocks (#9929) 2024-07-31 16:27:47 +00:00
joshieDo
245284d62f fix: update indices outside of loop on PersistenceService (#9945) 2024-07-31 15:57:21 +00:00
joshieDo
611a0292f9 chore: move write_hashed_state from StorageWriter to trait StateChangeWriter (#9927) 2024-07-31 13:37:13 +00:00
Federico Gimenez
f9ed57d6a6 test: add TestBlockBuilder (#9925) 2024-07-31 11:50:53 +00:00
Dan Cline
f3ce077c8a fix: write transactions on save_blocks call (#9912) 2024-07-30 22:17:20 +00:00
Matthias Seitz
d90f2396e5 fix: add missing commit calls for persistence (#9906) 2024-07-30 20:05:25 +00:00
Dan Cline
f734e614d7 chore: use readonly providers in StorageWriter (#9822) 2024-07-26 00:11:17 +00:00
Dan Cline
18ebc5eaee chore: rename to PersistenceHandle::spawn_service (#9824) 2024-07-25 23:52:02 +00:00
Federico Gimenez
115a58b327 feat: improve in memory block tracking (#9773) 2024-07-25 12:30:11 +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
Dan Cline
23ff37124d chore: combine static file and database services (#9713) 2024-07-23 13:59:20 +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
Dan Cline
01075f6980 feat: implement remove_blocks_above in db service (#9533) 2024-07-16 09:41:03 +00:00
Dan Cline
d453b7ddbe fix: commit receipts in write_execution_data (#9525) 2024-07-16 09:40:30 +00:00
Alexey Shekhirin
068220bb0a feat(pruner, stages): logs for Prune stage (#9520) 2024-07-15 16:47:17 +00:00
Dan Cline
39c53823e4 feat: route commands to correct persistence service (#9435)
Co-authored-by: Federico Gimenez <fgimenez@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-07-12 22:16:00 +00:00
Federico Gimenez
a49e993d71 test: add EngineApiTreeHandlerImpl integration test (#9453) 2024-07-12 19:24:59 +00:00
joshieDo
345798c77d chore: use DatabaseProviderRW instead of TX on *State*::write_to_db (#9460) 2024-07-11 21:01:07 +00:00
Alexey Shekhirin
805673c656 chore(pruner): remove deletion limit per block, make it per run (#9446) 2024-07-11 20:16:30 +00:00
joshieDo
22df39a100 chore: use DatabaseProviderRW on StateWriter::write_to_storage instead of TX (#9449) 2024-07-11 19:54:41 +00:00
Alexey Shekhirin
b040b86a54 feat(prune, stages): prune pipeline stage (#9419) 2024-07-11 19:18:56 +00:00
Federico Gimenez
11c5e3121d feat: tree hook for persisting blocks (#9365) 2024-07-11 17:46:05 +00:00
Dan Cline
797a4a1a38 feat: introduce static file task (#9234) 2024-07-10 19:30:22 +00:00