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:
@ -23,6 +23,10 @@ pub struct EngineArgs {
|
||||
#[arg(long = "engine.legacy-state-root", default_value = "false")]
|
||||
pub legacy_state_root_task_enabled: bool,
|
||||
|
||||
/// Enable state root task
|
||||
#[arg(long = "engine.state-root-task", default_value = "false", hide = true)]
|
||||
pub state_root_task_enabled: bool,
|
||||
|
||||
/// Enable cross-block caching and parallel prewarming
|
||||
#[arg(long = "engine.caching-and-prewarming")]
|
||||
pub caching_and_prewarming_enabled: bool,
|
||||
@ -43,6 +47,7 @@ impl Default for EngineArgs {
|
||||
persistence_threshold: DEFAULT_PERSISTENCE_THRESHOLD,
|
||||
memory_block_buffer_target: DEFAULT_MEMORY_BLOCK_BUFFER_TARGET,
|
||||
legacy_state_root_task_enabled: false,
|
||||
state_root_task_enabled: false,
|
||||
state_root_task_compare_updates: false,
|
||||
caching_and_prewarming_enabled: false,
|
||||
cross_block_cache_size: DEFAULT_CROSS_BLOCK_CACHE_SIZE_MB,
|
||||
|
||||
Reference in New Issue
Block a user