Skip to content

Commit

Permalink
Proper naming wrt expectations (paritytech#12311)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
  • Loading branch information
sandreim authored and ark0f committed Feb 27, 2023
1 parent 9c26b80 commit 37020b1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
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

0 comments on commit 37020b1

Please sign in to comment.