fix: apply legacy cleanup to opnode (#13775)

This commit is contained in:
Matthias Seitz
2025-01-11 19:59:13 +01:00
committed by GitHub
parent 8e7768db2a
commit cc84f83b6c
2 changed files with 7 additions and 16 deletions

View File

@ -24,8 +24,12 @@ fn main() {
if let Err(err) =
Cli::<OpChainSpecParser, RollupArgs>::parse().run(|builder, rollup_args| async move {
let engine_tree_config = TreeConfig::default()
.with_persistence_threshold(rollup_args.persistence_threshold)
.with_memory_block_buffer_target(rollup_args.memory_block_buffer_target);
.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_always_compare_trie_updates(
builder.config().engine.state_root_task_compare_updates,
);
let op_node = OpNode::new(rollup_args.clone());
let handle = builder