Commit Graph

170 Commits

Author SHA1 Message Date
c4aae6db36 feat: make EthService generic over engine types and block executor (#10212) 2024-08-08 17:22:55 +00:00
0bf35ab20f feat: add basic engine2 exec and root perf logs (#10188) 2024-08-07 20:04:40 +00:00
d62ce79535 feat(engine-util): reorg interceptor (#10173) 2024-08-07 19:50:49 +00:00
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
aa533dade6 docs: add spec docs and todo for OP (#10171) 2024-08-07 16:23:34 +00:00
7ec3b92d36 feat: introduce EngineApiRequest type (#10158) 2024-08-07 14:01:42 +00:00
4107df8148 chore: lower persistence threshold (#10156) 2024-08-07 11:11:18 +00:00
27d21b0374 test: engine tree live sync, FCU extends canon chain with existing blocks (#10154) 2024-08-07 10:58:28 +00:00
a77ce062fe feat: execute downloaded blocks in batches (#10155) 2024-08-07 10:58:17 +00:00
e7214afe51 test: live sync test to check make canonical (#10131) 2024-08-07 09:55:39 +00:00
f8104cc93f feat: make EngineApiRequestHandler generic over request (#10147) 2024-08-06 21:27:38 +00:00
b0ded038ba feat: keep sender in tree task (#10148) 2024-08-06 19:19:49 +00:00
c4b5f5e9c9 feat: ensure consistent forkchoice state always (#10144) 2024-08-06 15:52:01 +00:00
35532e7c83 chore: ensure persistence receiver is dropped (#10133) 2024-08-06 15:10:26 +00:00
eb731762ec chore: rename EngineApiTreeHandler (#10140) 2024-08-06 15:00:29 +00:00
365012b9ca chore: remove trait EngineApiTreeHandler (#10136) 2024-08-06 13:55:15 +00:00
3bfffc6251 docs: misc engine docs (#10135) 2024-08-06 13:13:39 +00:00
2e45697d64 feat: add EngineApiKind enum (#10128) 2024-08-06 12:47:57 +00:00
06e7afbd2d feat: add EngineApi metrics (#10125) 2024-08-06 10:46:22 +00:00
e20d94fe31 chore(engine): enable clippy checks (#10120) 2024-08-06 10:11:38 +00:00
08158e4449 fix: validate header against parent in engine2 (#10114)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-06 02:01:51 +00:00
6008deb360 chore: rm redundant ( (#10112) 2024-08-05 22:43:52 +00:00
447e3cab32 test: live sync transition, tree requests required blocks (#10082) 2024-08-05 16:50:24 +00:00
2d0c10e577 fix: use recv timeout if persistence task is active (#10087) 2024-08-05 14:59:52 +00:00
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
88be767087 chore(reth-engine-tree): Replace HeadersClient + BodiesClient with BlockClient (#10073) 2024-08-04 17:37:54 +00:00
9f03f8a269 fix: start payload builder on already canon head (#10041) 2024-08-03 15:16:37 +00:00
e98acdc8d9 feat: improve download observability (#10039) 2024-08-03 08:07:04 +00:00
1290260da3 chore: remove expects in persistence task (#10031) 2024-08-02 21:01:14 +00:00
d3ae2b7d73 feat: use BTreemap for block numbers in CanonicalInMemoryState (#10040) 2024-08-02 19:02:37 +00:00
06fbdd98d2 chore: use UnifiedStorageWriter::commit where possible (#10019) 2024-08-02 14:11:11 +00:00
ae4be80cd5 chore: better tree observability (#10014) 2024-08-02 11:12:29 +00:00
d6388fdfa9 chore: downgrade empty blocks to persist trace to debug (#10012) 2024-08-02 08:55:29 +00:00
333dbdeda2 chore: move remove_blocks_above to StorageWriter (#9997) 2024-08-01 17:06:44 +00:00
f3fac56fd9 chore: move save_blocks to StorageWriter (#9991) 2024-08-01 16:36:33 +00:00
30840b7b4a chore: combine persistence task removal methods (#9975) 2024-08-01 15:57:01 +00:00
09d5cb53a8 fix: do not truncate blocks to persist (#9986) 2024-08-01 15:38:06 +00:00
0a1be8ca5b test: add engine tree test, FCU triggers reorg with all the blocks present (#9943) 2024-08-01 15:18:50 +00:00
f2c736045f feat: handle disconnected blocks (#9981) 2024-08-01 13:40:46 +00:00
3c2759dcc0 fix: only write receipts once on PersistenceService::save_blocks (#9976) 2024-08-01 10:50:44 +00:00
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
f52dc06938 fix: remove persisted blocks properly (#9969) 2024-08-01 07:47:53 +00:00
d57163709f feat: set pending block in canonical memory (#9950) 2024-07-31 16:50:20 +00:00
78c461ea4e fix: share DatabaseProviderRW on PersistenceAction::SaveBlocks (#9929) 2024-07-31 16:27:47 +00:00
245284d62f fix: update indices outside of loop on PersistenceService (#9945) 2024-07-31 15:57:21 +00:00
750eb26256 fix: only check canonical height (#9941) 2024-07-31 15:05:11 +00:00
8dfaf6c97b chore: pick safe hash for initial download (#9934)
Co-authored-by: Federico Gimenez <fgimenez@users.noreply.github.com>
2024-07-31 14:32:55 +00:00
263be9cf17 feat: handle insert buffered block err gracefully (#9933) 2024-07-31 14:20:31 +00:00
611a0292f9 chore: move write_hashed_state from StorageWriter to trait StateChangeWriter (#9927) 2024-07-31 13:37:13 +00:00
f9ed57d6a6 test: add TestBlockBuilder (#9925) 2024-07-31 11:50:53 +00:00