feat(optimism): disable state root task by default (#14446)

This commit is contained in:
Alexey Shekhirin
2025-02-12 12:22:27 +00:00
committed by GitHub
parent fc7a3e5bc6
commit 11eac03f00
2 changed files with 10 additions and 1 deletions

View File

@ -147,7 +147,11 @@ where
let runner = CliRunner::default();
match self.command {
Commands::Node(command) => {
Commands::Node(mut command) => {
// TODO: remove when we're ready to roll out State Root Task on OP-Reth
if !command.engine.state_root_task_enabled {
command.engine.legacy_state_root_task_enabled = true;
}
runner.run_command_until_exit(|ctx| command.execute(ctx, launcher))
}
Commands::Init(command) => {