Commit Graph

71 Commits

Author SHA1 Message Date
Dan Cline
2b44d17d5f chore: remove reth-primitives dep from reth-engine-tree (#14019) 2025-01-27 21:44:21 +00:00
Arsenii Kulikov
33bf34b2fb fix: gracefully handle missing persisted_trie_updates (#13942) 2025-01-27 14:02:53 +00:00
Ashish Thapa
13ecd6afa1 Nit: replace block and sender with RecoveredBlock in ExecutedBlock (#13804)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-01-16 15:56:16 +00:00
Hoa Nguyen
0933e1b07d feat: generic data primitives block builder test framework (#13522) 2024-12-27 09:41:29 +00:00
Arsenii Kulikov
980e62a5b8 chore: relax ProviderFactory setup (#13254) 2024-12-10 00:17:34 +00:00
Léa Narzis
025885f2ad refactor(sdk): complete generic impl for PersistenceService over N::Primitives (#13044) 2024-12-04 10:50:46 +00:00
Léa Narzis
ebd413fce2 feat: make PersistenceAction generic over NodePrimitives (#13019) 2024-11-30 16:15:47 +00:00
Hoa Nguyen
e0cad9fdae feat: generic data primitives PersistenceHandle (#12968) 2024-11-30 15:49:00 +00:00
Hai | RISE
acfcfbdcf3 perf: minimize clones when saving blocks (#12870) 2024-11-27 09:08:19 +01:00
Arsenii Kulikov
2ce741709f feat: relax provider bounds (#12857) 2024-11-26 16:26:36 +00:00
Arsenii Kulikov
dcaa06a01a feat: make more block types generic (#12812) 2024-11-25 10:50:10 +00:00
Arsenii Kulikov
7f5fd80cb7 feat: integrate SignedTx AT into StaticFileProviderRW (#12764) 2024-11-22 11:49:25 +00:00
Arsenii Kulikov
0c5984179e refactor(storage): unify blocks insertion logic (#12694) 2024-11-20 22:48:39 +00:00
Arsenii Kulikov
72a52d5ea5 feat: make StaticFileProvider generic over NodePrimitives (#12565) 2024-11-15 10:42:58 +00:00
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