Skip to content

Commit c4c9a66

Browse files
authored
fix benchmarks (#294)
1 parent 6f44b2c commit c4c9a66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

benchmarking/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
mod tests;
77

88
pub use frame_benchmarking::{
9-
benchmarking, BenchmarkBatch, BenchmarkParameter, BenchmarkResults, Benchmarking, BenchmarkingSetup,
10-
TrackedStorageKey,
9+
benchmarking, BenchmarkBatch, BenchmarkConfig, BenchmarkParameter, BenchmarkResults, Benchmarking,
10+
BenchmarkingSetup, TrackedStorageKey,
1111
};
1212
#[cfg(feature = "std")]
1313
pub use frame_benchmarking::{Analysis, BenchmarkSelector};
@@ -992,7 +992,7 @@ macro_rules! add_benchmark {
992992
} = config;
993993
if &pallet[..] == &name_string[..] || &pallet[..] == &b"*"[..] {
994994
if &pallet[..] == &b"*"[..] || &benchmark[..] == &b"*"[..] {
995-
for benchmark in $( $location )*::benchmarks(*extra).into_iter() {
995+
for benchmark in $( $location )*::Benchmark::benchmarks(*extra).into_iter() {
996996
$batches.push($crate::BenchmarkBatch {
997997
results: $( $location )*::Benchmark::run_benchmark(
998998
benchmark,

0 commit comments

Comments
 (0)