Co #11198: Expose benchmark machine command (#5326)

* Expose benchmark machine command

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* fmt

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* error.into

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* update lockfile for {"substrate"}

* Revert "update lockfile for {"substrate"}"

This reverts commit 41c2ddda511076567a98c85efa631374071c9e5a.

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Co-authored-by: parity-processbot <>
This commit is contained in:
Oliver Tale-Yazdi
2022-04-15 18:46:36 +02:00
committed by GitHub
parent a74c527d32
commit 8c3dbe0cfc
2 changed files with 291 additions and 175 deletions
+2
View File
@@ -528,6 +528,8 @@ pub fn run() -> Result<()> {
#[allow(unreachable_code)]
Err(service::Error::NoRuntime.into())
},
BenchmarkCmd::Machine(cmd) =>
runner.sync_run(|config| cmd.run(&config).map_err(Error::SubstrateCli)),
// NOTE: this allows the Polkadot client to leniently implement
// new benchmark commands.
#[allow(unreachable_patterns)]