Commit Graph

861 Commits

Author SHA1 Message Date
Yong Kang
dc6ea976d9 add more logs 2025-10-16 08:25:50 +00:00
Yong Kang
04ee4ecda9 Add diagnostic logs for multiproof lifecycle tracking
Add INFO-level logs with DEBUG: prefix to trace multiproof task lifecycle:
- Log worker system initialization with concurrency limits
- Log when queue is full and requests are enqueued
- Log when tasks are spawned (storage and account multiproofs)
- Log when ProofCalculated messages are received
- Log when on_calculation_complete is called
- Log when pending tasks are dequeued and spawned

These logs will help diagnose why inflight_multiproofs_histogram drops to 0
and identify if the feedback loop between task completion and metric updates
is functioning correctly.
2025-10-16 08:22:54 +00:00
YK
a84bef0832 refactor: revert Remove max_proof_task_concurrency as configurable variable" (#19062) 2025-10-16 07:28:04 +00:00
Copilot
926b1a43fe refactor: Remove max_proof_task_concurrency as configurable variable (#19009)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: yongkangc <46377366+yongkangc@users.noreply.github.com>
Co-authored-by: Yong Kang <chiayongkang@hotmail.com>
2025-10-15 23:52:27 +00:00
Arsenii Kulikov
7779ed8c73 feat: bump revm (#18999) 2025-10-15 17:55:35 +00:00
YK
eb9b08c696 perf: background init of workers (#19012) 2025-10-15 13:16:54 +00:00
Galoretka
0cbd514e4b feat(engine): deprecate TestPipelineBuilder::with_executor_results (#19017) 2025-10-15 13:03:49 +00:00
Ivan Wang
ee6cac72de feat: add metrics for safe and finalized block heights (#18987) 2025-10-15 09:07:42 +00:00
Karl Yu
856ad08776 refactor(engine): simplify InvalidBlockWitnessHook::on_invalid_block for better testability (#18696) 2025-10-15 03:50:41 +00:00
YK
11c9949add refactor(trie): remove proof task manager (#18934)
Co-authored-by: Brian Picciano <me@mediocregopher.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
2025-10-15 01:49:39 +00:00
YK
e0b7a86313 perf(tree): worker pooling for account proofs (#18901)
Co-authored-by: Brian Picciano <me@mediocregopher.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
2025-10-15 00:26:02 +00:00
Dan Cline
169a1fb97b fix(engine): flatten storage cache (#18880) 2025-10-14 19:12:55 +00:00
YK
691b14bfca perf(tree): add elapsed time to parallel state root completion log (#18959) 2025-10-13 12:53:12 +00:00
YK
397a30defb perf(tree): worker pooling for storage in multiproof generation (#18887)
Co-authored-by: Brian Picciano <me@mediocregopher.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
2025-10-10 07:58:15 +00:00
William Nwoke
bed26238dc refactor(engine): separate concerns in on_forkchoice_updated for better maintainability (#18661)
Co-authored-by: Nathaniel Bajo <nathanielbajo@Nathaniels-MacBook-Pro.local>
Co-authored-by: YK <chiayongkang@hotmail.com>
Co-authored-by: Brian Picciano <me@mediocregopher.com>
2025-10-08 11:54:59 +00:00
Alexey Shekhirin
e9598ba5ac feat(storage): read headers and transactions only from static files (#18788) 2025-10-06 11:39:48 +00:00
Dan Cline
978b8a2cd3 docs(engine): fix outdated comment on TreeMetrics (#18855) 2025-10-06 09:10:51 +00:00
Hai | RISE
8effbf265b perf(multiproof): cache storage proof root of missed leaves (#18750) 2025-10-03 10:57:31 +00:00
futreall
656c00e3d6 perf: optimize account cache updates to reduce duplicate lookups (#18825) 2025-10-02 12:34:44 +00:00
Matthias Seitz
1d1fea72b6 docs: apply spelling and grammar fixes (#18836)
Co-authored-by: Jennifer Paffrath <jenpaff0@gmail.com>
Co-authored-by: Max <max@digi.net>
2025-10-02 11:22:43 +00:00
Mablr
467420ec25 feat(evm): Make ConfigureEngineEvm methods faillible (#18827) 2025-10-02 11:16:40 +00:00
Matthias Seitz
80b4d26b9d chore: use exact size for account weight (#18816) 2025-10-01 14:46:03 +00:00
YK
83de2137f2 refactor(engine): simplify validate_block_with_state (#18659)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-01 08:22:42 +00:00
viktorking7
0694abcee8 fix: Prevent u64 timestamp wrap-around in LocalMiner (#18791) 2025-09-30 15:29:14 +00:00
YK
b8c16e392a refactor(engine): small nits - remove shallow abstraction for decoded_storage_proof (#18780) 2025-09-30 07:57:11 +00:00
Alexey Shekhirin
058ffdc21e feat(storage): write headers and transactions only to static files (#18681) 2025-09-29 17:04:59 +00:00
YK
ec4e6aafde perf: optimize Optimism deposit transaction prewarming (#18327) 2025-09-29 09:06:17 +00:00
radik878
48b725aec2 chore(engine): remove unnecessary ChainSpecProvider bound from invalid block witness hook (#18760) 2025-09-28 16:30:28 +00:00
Matthias Seitz
850083dbde chore: remove doc_auto_cfg feature (#18758) 2025-09-28 12:53:45 +02:00
Mablr
6a50aa3ea5 feat: make more EVM and RPC conversions fallible (#18685) 2025-09-26 13:56:46 +00:00
Alexey Shekhirin
057c71281f feat(cli): configure multiproof chunking via arguments (#18736) 2025-09-26 13:00:16 +00:00
Brian Picciano
ff4cc6e3ba chore: Accept range in HashedPostState::from_reverts (#18728) 2025-09-26 11:29:37 +00:00
Hai | RISE
8d44bebf8d perf(multiproof): do not chunk more tasks when task queue is full (#18727) 2025-09-26 11:15:02 +00:00
YK
8f881789b7 perf(engine): reduce cloning on terminate caching (#18693) 2025-09-25 14:58:25 +00:00
YK
a047a055ab chore: bump rust to edition 2024 (#18692) 2025-09-25 12:18:51 +00:00
Forostovec
4d609847bf fix(engine): remove redundant parent_to_child removal during eviction (#18648) 2025-09-25 06:53:49 +00:00
GarmashAlex
3b0d98f346 fix(engine): align sparse trie removal log target with engine::root::sparse (#18686) 2025-09-24 17:48:54 +00:00
radik878
8e488a730a chore(engine): remove unused EngineServiceError from engine service (#18666)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-09-24 14:35:27 +00:00
YK
a80f0c83a3 chore(revert): add tokio runtime with custom thread naming (#18670) 2025-09-24 10:52:51 +00:00
crazykissshout
a7632c7431 fix(engine): correct misleading test comments in cached_state.rs (#18652) 2025-09-23 20:12:26 +00:00
YK
064694b2df refactor(engine): simplify on_new_payload (#18613) 2025-09-23 16:04:19 +00:00
YK
088a0d44c2 chore(observability): add tokio runtime with custom thread naming (#18635)
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
2025-09-23 12:05:35 +00:00
YK
7dc3aea930 chore(revert): revert tokio runtime with custom thread naming (#18631) 2025-09-23 10:20:44 +00:00
YK
2ec3671633 chore(observability): add tokio runtime with custom thread naming (#18623) 2025-09-23 09:04:54 +00:00
emmmm
9806e07cf8 fix: replace tx_hash method with TxHashRef trait bound (#18357) (#18362)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-09-22 09:31:17 +00:00
YK
36107c60ab fix(cache): Ensure execution cache remains locked until updated (#18564)
Co-authored-by: Alexey Shekhirin <5773434+shekhirin@users.noreply.github.com>
2025-09-22 11:38:02 +02:00
YK
95f1931c59 test(engine): add new payload handling tests for canonical insertion and invalid ancestors (#18608) 2025-09-22 08:38:53 +00:00
stevencartavia
ce6199abf6 feat: tree config setting for unwinding canonical header (#18420) 2025-09-18 12:59:08 +00:00
Matthias Seitz
ece847287a chore: add cache traces (#18538) 2025-09-18 09:21:44 +00:00
Copilot
64b4ae60f5 docs: document critical cache safety assumptions in ExecutionCache (#18536)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: yongkangc <46377366+yongkangc@users.noreply.github.com>
Co-authored-by: YK <chiayongkang@hotmail.com>
2025-09-18 08:52:13 +00:00