Skip to content

Commit

Permalink
frame/bench-cli: fix log formatting (paritytech#10627)
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez authored and ark0f committed Feb 27, 2023
1 parent f0e55f0 commit 96cac71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/frame/benchmarking-cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,14 +333,14 @@ impl BenchmarkCmd {
if elapsed >= time::Duration::from_secs(5) {
timer = time::SystemTime::now();
log::info!(
"Running Benchmark:\t{}\t{}\t{}/{}\t{}/{}",
"Running Benchmark: {}.{} {}/{} {}/{}",
String::from_utf8(pallet.clone())
.expect("Encoded from String; qed"),
String::from_utf8(extrinsic.clone())
.expect("Encoded from String; qed"),
s, // todo show step
s + 1, // s starts at 0. todo show step
self.steps,
r,
r + 1,
self.external_repeat,
);
}
Expand Down

0 comments on commit 96cac71

Please sign in to comment.