Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

try-runtime: rename spec check flag #12311

Merged
merged 1 commit into from
Sep 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion utils/frame/try-runtime/cli/src/commands/execute_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ where
block_ws_uri.clone(),
expected_spec_name,
expected_spec_version,
shared.no_spec_name_check,
shared.no_spec_check_panic,
)
.await;

Expand Down
2 changes: 1 addition & 1 deletion utils/frame/try-runtime/cli/src/commands/follow_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ where
command.uri.clone(),
expected_spec_name,
expected_spec_version,
shared.no_spec_name_check,
shared.no_spec_check_panic,
)
.await;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ where
header_ws_uri,
expected_spec_name,
expected_spec_version,
shared.no_spec_name_check,
shared.no_spec_check_panic,
)
.await;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ where
uri,
expected_spec_name,
expected_spec_version,
shared.no_spec_name_check,
shared.no_spec_check_panic,
)
.await;
}
Expand Down
4 changes: 2 additions & 2 deletions utils/frame/try-runtime/cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,9 @@ pub struct SharedParams {
#[clap(long)]
pub heap_pages: Option<u64>,

/// When enabled, the spec name check will not panic, and instead only show a warning.
/// When enabled, the spec check will not panic, and instead only show a warning.
#[clap(long)]
pub no_spec_name_check: bool,
pub no_spec_check_panic: bool,

/// State version that is used by the chain.
#[clap(long, default_value = "1", parse(try_from_str = parse::state_version))]
Expand Down