mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: apply legacy cleanup to opnode (#13775)
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user