perf: warm transactions in parallel (#13759)

This commit is contained in:
Dan Cline
2025-02-04 11:25:51 -05:00
committed by GitHub
parent 6fecdac4ea
commit b6ce1d90fd
14 changed files with 263 additions and 92 deletions

View File

@ -565,6 +565,7 @@ where
.with_persistence_threshold(builder.config.engine.persistence_threshold)
.with_memory_block_buffer_target(builder.config.engine.memory_block_buffer_target)
.with_state_root_task(builder.config.engine.state_root_task_enabled)
.with_caching_and_prewarming(builder.config.engine.caching_and_prewarming_enabled)
.with_always_compare_trie_updates(
builder.config.engine.state_root_task_compare_updates,
);

View File

@ -227,6 +227,7 @@ where
Box::pin(consensus_engine_stream),
ctx.dev_mining_mode(ctx.components().pool()),
LocalPayloadAttributesBuilder::new(ctx.chain_spec()),
ctx.components().evm_config().clone(),
);
Either::Left(eth_service)
@ -247,6 +248,7 @@ where
engine_tree_config,
ctx.invalid_block_hook()?,
ctx.sync_metrics_tx(),
ctx.components().evm_config().clone(),
);
Either::Right(eth_service)