Reflect benchmarking fn signature change (#5959)

* Reflect benchmarking fn signature change

* fmt

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Stephen Shelton
2022-09-02 22:24:36 +00:00
committed by GitHub
parent fa75315e8e
commit 3bbfc46d5d
2 changed files with 185 additions and 174 deletions
+15 -4
View File
@@ -552,14 +552,25 @@ pub fn run() -> Result<()> {
unwrap_client!(
client,
cmd.run(client.clone(), inherent_data, &ext_factory)
.map_err(Error::SubstrateCli)
cmd.run(
client.clone(),
inherent_data,
Vec::new(),
&ext_factory
)
.map_err(Error::SubstrateCli)
)
},
BenchmarkCmd::Overhead(cmd) => unwrap_client!(
client,
cmd.run(config, client.clone(), inherent_data, &remark_builder)
.map_err(Error::SubstrateCli)
cmd.run(
config,
client.clone(),
inherent_data,
Vec::new(),
&remark_builder
)
.map_err(Error::SubstrateCli)
),
_ => unreachable!("Ensured by the outside match; qed"),
}