Commit Graph

220 Commits

Author SHA1 Message Date
Thomas Coratger
2b75415a00 execution: make ConfigureEvm independent of chainspec argument (#10748)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-09-11 13:50:42 +00:00
Matthias Seitz
a5be445ef9 chore: lower persistence threshold (#10833) 2024-09-11 11:20:25 +00:00
garwah
643ea42acb chore: Make block download metric include inflight block range requests (#10826)
Co-authored-by: garwah <garwah@garwah>
2024-09-11 09:59:39 +02:00
greged93
f6b2021440 dev: remove unused dev-deps (#10813) 2024-09-11 00:45:20 +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
27d4e8c363 feat: test channel for pausing persistence receiver (#10699) 2024-09-06 17:39:05 +00:00
Dan Cline
ed778e10b9 chore(tree): propagate on_new_persisted_block error (#10733) 2024-09-06 17:17:43 +00:00
Alexey Shekhirin
3ec5d373c1 feat(engine, tree): witness invalid block hook (#10685) 2024-09-06 11:56:03 +00:00
Dan Cline
3e2c34ac6c chore(tree): propagate on_new_head error (#10734) 2024-09-06 00:31:38 +00:00
Dan Cline
cdd0f00079 chore(tree): make tree trace targets consistent (#10731) 2024-09-05 23:36:10 +00:00
Dan Cline
b1ed3e65a3 feat(tree): add block validation metrics (#10728) 2024-09-05 20:08:41 +00:00
Arsenii Kulikov
a996eea94a refactor: relax bound on NodeTypesWithDB (#10720) 2024-09-05 19:14:45 +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
Roman Krasiuk
c267c1caf7 chore(engine): track elapsed on fork block added (#10710) 2024-09-05 15:25:38 +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
3289cd79bd feat(tree): make on_new_head and is_fork aware of disk (#10551) 2024-09-04 19:00:07 +00:00
Oliver
d659cd36d2 refactor: move exec metrics into executor (#10426) 2024-09-04 01:30:12 +00:00
Dan Cline
fd8ca17076 feat(tree): introduce executed_block_by_hash (#10553)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-09-03 18:11:37 +00:00
Alexey Shekhirin
9d46b06420 feat(engine): invalid block hooks crate (#10629)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2024-09-03 15:02:18 +00:00
Dan Cline
dea1e21af9 feat: add invalid block hook field to tree (#10432)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-09-03 13:59:43 +00:00
Dan Cline
80793cfe17 feat(tree): cache trie updates for nonfinalized canonical blocks (#10579) 2024-09-03 02:15:22 +00:00
Matthias Seitz
333b1a7bb7 chore: add debug log when new engine message (#10653) 2024-09-02 10:00:23 +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
Dan Cline
c5a1c0e131 feat(tree): make remove_before aware of the finalized hash (#10574)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2024-08-29 21:24:56 +00:00
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
Roman Krasiuk
f600ff07d9 feat(debug): engine reorg util depth (#10575) 2024-08-28 09:22:51 +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
Thomas Coratger
9c57c4a454 clippy: add redundant_else clippy lint (#10525)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-26 09:40:10 +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
Roman Krasiuk
8a802dab60 chore(engine): enable engine debug streams in new implementation (#10282) 2024-08-13 05:06:39 +00:00
nk_ysg
e94bd244e9 chore(reth-engine-primitives): remove unused code (#10261) 2024-08-12 14:06:15 +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
Thomas Coratger
3c709981da deps: rm unused deps (#10229) 2024-08-09 12:09:01 +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