Skip to content
Snippets Groups Projects
Commit 8c3dbe0c authored by Oliver Tale-Yazdi's avatar Oliver Tale-Yazdi Committed by GitHub
Browse files

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


* Expose benchmark machine command

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

* fmt

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

* error.into

Signed-off-by: default avatarOliver 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: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Co-authored-by: parity-processbot <>
parent a74c527d
Branches
No related merge requests found
This diff is collapsed.
......@@ -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)]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment