mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 06:27:58 +00:00
Add benchmarking support for digest items (#12159)
* Add benchmarking support for digest items * fmt
This commit is contained in:
@@ -132,7 +132,13 @@ pub fn run() -> Result<()> {
|
||||
let partial = new_partial(&config)?;
|
||||
let ext_builder = RemarkBuilder::new(partial.client.clone());
|
||||
|
||||
cmd.run(config, partial.client, inherent_benchmark_data()?, &ext_builder)
|
||||
cmd.run(
|
||||
config,
|
||||
partial.client,
|
||||
inherent_benchmark_data()?,
|
||||
Vec::new(),
|
||||
&ext_builder,
|
||||
)
|
||||
},
|
||||
BenchmarkCmd::Extrinsic(cmd) => {
|
||||
// ensure that we keep the task manager alive
|
||||
@@ -147,7 +153,12 @@ pub fn run() -> Result<()> {
|
||||
)),
|
||||
]);
|
||||
|
||||
cmd.run(partial.client, inherent_benchmark_data()?, &ext_factory)
|
||||
cmd.run(
|
||||
partial.client,
|
||||
inherent_benchmark_data()?,
|
||||
Vec::new(),
|
||||
&ext_factory,
|
||||
)
|
||||
},
|
||||
BenchmarkCmd::Machine(cmd) =>
|
||||
cmd.run(&config, SUBSTRATE_REFERENCE_HARDWARE.clone()),
|
||||
|
||||
Reference in New Issue
Block a user