Skip to content

Commit

Permalink
chore: update optimize.skip-state-root-validation desc of flag
Browse files Browse the repository at this point in the history
  • Loading branch information
j75689 committed Oct 29, 2024
1 parent 40cb42d commit 4583afc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/node/core/src/args/performance_optimization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ pub struct PerformanceOptimizationArgs {
/// Skips state root validation during block import.
/// This flag is intended for performance optimization when importing blocks from trusted
/// sources.
/// **Warning: This option compromises the validation of chain data. Use with caution.**
/// **Warning: Enabling this option reduces the integrity of chain data validation.**
/// **Once enabled, it cannot be disabled, and the node will permanently skip state root validation.**
/// **Use only if you fully understand the consequences.**
#[arg(long = "optimize.skip-state-root-validation", default_value_t = false)]
pub skip_state_root_validation: bool,

Expand Down

0 comments on commit 4583afc

Please sign in to comment.