From d0e09ec2c2c01438ddb3b3a90c3dc41e9172a444 Mon Sep 17 00:00:00 2001 From: Liam Aharon Date: Fri, 17 Nov 2023 18:02:16 +0400 Subject: [PATCH] improve name --- core/src/commands/on_runtime_upgrade.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/commands/on_runtime_upgrade.rs b/core/src/commands/on_runtime_upgrade.rs index c2124bff708..21b52555c62 100644 --- a/core/src/commands/on_runtime_upgrade.rs +++ b/core/src/commands/on_runtime_upgrade.rs @@ -66,7 +66,7 @@ pub struct Command { /// Whether to enforce the new runtime `spec_version` is greater or equal to the existing /// `spec_version`. #[clap(long, default_value = "true", default_missing_value = "true")] - pub check_spec_version_increases: bool, + pub check_spec_version: bool, } // Runs the `on-runtime-upgrade` command. @@ -82,7 +82,7 @@ where let executor = build_executor(&shared); let runtime_checks = RuntimeChecks { name_matches: shared.check_spec_name, - version_increases: command.check_spec_version_increases, + version_increases: command.check_spec_version, try_runtime_feature_enabled: true, }; let ext = command