Add benchmarking support for digest items (#12159)

* Add benchmarking support for digest items

* fmt
This commit is contained in:
Stephen Shelton
2022-09-02 21:33:26 +00:00
committed by GitHub
parent 23a81ee1e3
commit 5fb97da337
5 changed files with 32 additions and 11 deletions
@@ -139,7 +139,13 @@ pub fn run() -> sc_cli::Result<()> {
let PartialComponents { client, .. } = service::new_partial(&config)?;
let ext_builder = RemarkBuilder::new(client.clone());
cmd.run(config, client, inherent_benchmark_data()?, &ext_builder)
cmd.run(
config,
client,
inherent_benchmark_data()?,
Vec::new(),
&ext_builder,
)
},
BenchmarkCmd::Extrinsic(cmd) => {
let PartialComponents { client, .. } = service::new_partial(&config)?;
@@ -153,7 +159,7 @@ pub fn run() -> sc_cli::Result<()> {
)),
]);
cmd.run(client, inherent_benchmark_data()?, &ext_factory)
cmd.run(client, inherent_benchmark_data()?, Vec::new(), &ext_factory)
},
BenchmarkCmd::Machine(cmd) =>
cmd.run(&config, SUBSTRATE_REFERENCE_HARDWARE.clone()),