mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(optimism): disable state root task by default (#14446)
This commit is contained in:
@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user