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

Commit

Permalink
Fix compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr committed Mar 12, 2022
1 parent 5237f98 commit 5e94327
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions utils/frame/benchmarking-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ pub struct BenchmarkCmd {
pub steps: u32,

/// Indicates lowest values for each of the component ranges.
#[clap(long = "low", use_delimiter = true)]
#[clap(long = "low", use_value_delimiter = true)]
pub lowest_range_values: Vec<u32>,

/// Indicates highest values for each of the component ranges.
#[clap(long = "high", use_delimiter = true)]
#[clap(long = "high", use_value_delimiter = true)]
pub highest_range_values: Vec<u32>,

/// Select how many repetitions of this benchmark should run from within the wasm.
Expand Down
10 changes: 5 additions & 5 deletions utils/frame/try-runtime/cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -458,15 +458,15 @@ pub enum State {
snapshot_path: Option<PathBuf>,

/// The pallets to scrape. If empty, entire chain state will be scraped.
#[clap(short, long, require_delimiter = true)]
pallets: Option<Vec<String>>,
#[clap(short, long, multiple_values = true)]
pallets: Vec<String>,

/// Fetch the child-keys as well.
///
/// Default is `false`, if specific `pallets` are specified, true otherwise. In other
/// Default is `false`, if specific `--pallets` are specified, `true` otherwise. In other
/// words, if you scrape the whole state the child tree data is included out of the box.
/// Otherwise, it must be enabled explicitly using this flag.
#[clap(long, require_delimiter = true)]
#[clap(long)]
child_tree: bool,
},
}
Expand All @@ -492,7 +492,7 @@ impl State {
.mode(Mode::Online(OnlineConfig {
transport: uri.to_owned().into(),
state_snapshot: snapshot_path.as_ref().map(SnapshotConfig::new),
pallets: pallets.clone().unwrap_or_default(),
pallets: pallets.clone(),
scrape_children: true,
at,
}))
Expand Down

0 comments on commit 5e94327

Please sign in to comment.