186 Commits

Author SHA1 Message Date
Roman Krasiuk
71cad4a3c5 tree: bump persistence threshold and memory buffer target (#10608) 2024-08-29 14:08:54 +00:00
Dan Cline
ca5d3b00e6 chore(tree): make on_engine_message more concise (#10605) 2024-08-29 07:50:58 +00:00
Roman Krasiuk
6f086d1060 chore(trie): clean up state root methods (#10598) 2024-08-28 14:41:29 +00:00
Dan Cline
b1d6e27e3f chore(tree): make remove_before bound inclusive (#10559) 2024-08-27 19:13:09 +00:00
frostburn
1d07ff72e9 docs(reth-engine-tree): slightly improve inline docs (#10561) 2024-08-27 10:22:57 +00:00
frostburn
1c427c6c6a feat: Properly bubble up InsertBlockFatalError (#10276) 2024-08-26 22:35:39 +00:00
Roman Krasiuk
c4a231335a perf(engine): lazy load overlay trie state (#10541) 2024-08-26 13:11:54 +00:00
Thomas Coratger
709e7b73ce clippy: add if_not_else clippy lint (#10524)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-26 10:58:06 +00:00
nk_ysg
5254f16e07 feat: add impl From BlockExecutionOutput for ExecutionOutcome (#10507) 2024-08-25 18:25:27 +00:00
Dan Cline
70a1015fd1 chore(tree): remove BlockAttachment usage (#10453) 2024-08-22 20:21:24 +00:00
Federico Gimenez
3373670723 fix: reorgs with forks including invalid blocks (#10320)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2024-08-20 10:14:53 +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
Federico Gimenez
9bed8cf466 feat: improve connecting downloaded blocks (#10368) 2024-08-17 23:49:53 +00:00
Federico Gimenez
faa38cec4d fix: TreeState::on_new_head fork and reorg handling (#10232) 2024-08-10 09:45:45 +00:00
Dan Cline
80cf638e58 docs: add more engine design docs (#9748) 2024-08-09 20:31:08 +00:00
Dan Cline
1527dc03f7 chore: remove WriteTransactions from PersistenceAction (#10241) 2024-08-09 18:26:15 +00:00
Dan Cline
fe43f575f0 chore: remove reference to EngineApiTreeHandlerImpl (#10239) 2024-08-09 16:24:35 +00:00
Federico Gimenez
907209e927 feat: add setting for how many blocks can be persisted (#10237)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-09 15:41:29 +00:00
Matthias Seitz
aa278bcdef feat: inject locally built payloads into the tree (#10216) 2024-08-08 21:53:43 +00:00
Dan Cline
0ee689f357 fix: detect invalid buffered block when insert fails (#10217) 2024-08-08 20:45:45 +00:00
Dan Cline
0bf35ab20f feat: add basic engine2 exec and root perf logs (#10188) 2024-08-07 20:04:40 +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
Matthias Seitz
aa533dade6 docs: add spec docs and todo for OP (#10171) 2024-08-07 16:23:34 +00:00
Matthias Seitz
7ec3b92d36 feat: introduce EngineApiRequest type (#10158) 2024-08-07 14:01:42 +00:00
Matthias Seitz
4107df8148 chore: lower persistence threshold (#10156) 2024-08-07 11:11:18 +00:00
Federico Gimenez
27d21b0374 test: engine tree live sync, FCU extends canon chain with existing blocks (#10154) 2024-08-07 10:58:28 +00:00
Matthias Seitz
a77ce062fe feat: execute downloaded blocks in batches (#10155) 2024-08-07 10:58:17 +00:00
Federico Gimenez
e7214afe51 test: live sync test to check make canonical (#10131) 2024-08-07 09:55:39 +00:00
Matthias Seitz
f8104cc93f feat: make EngineApiRequestHandler generic over request (#10147) 2024-08-06 21:27:38 +00:00
Matthias Seitz
b0ded038ba feat: keep sender in tree task (#10148) 2024-08-06 19:19:49 +00:00
Dan Cline
c4b5f5e9c9 feat: ensure consistent forkchoice state always (#10144) 2024-08-06 15:52:01 +00:00
Federico Gimenez
35532e7c83 chore: ensure persistence receiver is dropped (#10133) 2024-08-06 15:10:26 +00:00
Matthias Seitz
eb731762ec chore: rename EngineApiTreeHandler (#10140) 2024-08-06 15:00:29 +00:00
Miguel Tavares
365012b9ca chore: remove trait EngineApiTreeHandler (#10136) 2024-08-06 13:55:15 +00:00
Matthias Seitz
3bfffc6251 docs: misc engine docs (#10135) 2024-08-06 13:13:39 +00:00
Miguel Tavares
2e45697d64 feat: add EngineApiKind enum (#10128) 2024-08-06 12:47:57 +00:00
Matthias Seitz
06e7afbd2d feat: add EngineApi metrics (#10125) 2024-08-06 10:46:22 +00:00
Federico Gimenez
e20d94fe31 chore(engine): enable clippy checks (#10120) 2024-08-06 10:11:38 +00:00
Dan Cline
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
Matthias Seitz
6008deb360 chore: rm redundant ( (#10112) 2024-08-05 22:43:52 +00:00
Federico Gimenez
447e3cab32 test: live sync transition, tree requests required blocks (#10082) 2024-08-05 16:50:24 +00:00
Matthias Seitz
2d0c10e577 fix: use recv timeout if persistence task is active (#10087) 2024-08-05 14:59: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
nk_ysg
88be767087 chore(reth-engine-tree): Replace HeadersClient + BodiesClient with BlockClient (#10073) 2024-08-04 17:37:54 +00:00
Dan Cline
9f03f8a269 fix: start payload builder on already canon head (#10041) 2024-08-03 15:16:37 +00:00
Federico Gimenez
e98acdc8d9 feat: improve download observability (#10039) 2024-08-03 08:07:04 +00:00
Dan Cline
1290260da3 chore: remove expects in persistence task (#10031) 2024-08-02 21:01:14 +00:00
Miguel Tavares
d3ae2b7d73 feat: use BTreemap for block numbers in CanonicalInMemoryState (#10040) 2024-08-02 19:02:37 +00:00
joshieDo
06fbdd98d2 chore: use UnifiedStorageWriter::commit where possible (#10019) 2024-08-02 14:11:11 +00:00
Matthias Seitz
ae4be80cd5 chore: better tree observability (#10014) 2024-08-02 11:12:29 +00:00