mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
* Expose benchmark machine command Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * cargo update -p polkadot-client Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
01c2dc6b5d
commit
5721c68436
Generated
+353
-261
File diff suppressed because it is too large
Load Diff
@@ -262,6 +262,7 @@ pub fn run() -> Result<()> {
|
|||||||
cmd.run(config, partials.client.clone(), db, storage)
|
cmd.run(config, partials.client.clone(), db, storage)
|
||||||
}),
|
}),
|
||||||
BenchmarkCmd::Overhead(_) => Err("Unsupported benchmarking command".into()),
|
BenchmarkCmd::Overhead(_) => Err("Unsupported benchmarking command".into()),
|
||||||
|
BenchmarkCmd::Machine(cmd) => runner.sync_run(|config| cmd.run(&config)),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Some(Subcommand::TryRuntime(cmd)) => {
|
Some(Subcommand::TryRuntime(cmd)) => {
|
||||||
|
|||||||
@@ -502,6 +502,7 @@ pub fn run() -> Result<()> {
|
|||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
BenchmarkCmd::Overhead(_) => Err("Unsupported benchmarking command".into()),
|
BenchmarkCmd::Overhead(_) => Err("Unsupported benchmarking command".into()),
|
||||||
|
BenchmarkCmd::Machine(cmd) => runner.sync_run(|config| cmd.run(&config)),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Some(Subcommand::TryRuntime(cmd)) => {
|
Some(Subcommand::TryRuntime(cmd)) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user