Skip to content

Commit

Permalink
fix unused paths
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Feb 25, 2025
1 parent e32a64e commit 7630b4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -931,14 +931,14 @@ impl_runtime_apis! {

#[cfg(feature = "runtime-benchmarks")]
impl frame_benchmarking::Benchmark<Block> for Runtime {
fn benchmark_metadata(extra: bool) -> (Vec<frame_benchmarking::BenchmarkList>,Vec<frame_support::traits::StorageInfo>) {
fn benchmark_metadata(extra: bool) -> (Vec<BenchmarkList>,Vec<StorageInfo>) {
let mut list = Vec::<BenchmarkList>::new();
list_benchmarks!(list, extra);
let storage_info = AllPalletsWithSystem::storage_info();
(list, storage_info)
}

fn dispatch_benchmark(config: frame_benchmarking::BenchmarkConfig) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, String> {
fn dispatch_benchmark(config: frame_benchmarking::BenchmarkConfig) -> Result<Vec<BenchmarkBatch>, String> {
let whitelist: Vec<TrackedStorageKey> = AllPalletsWithSystem::whitelisted_storage_keys();
let mut batches = Vec::<BenchmarkBatch>::new();
let params = (&config, &whitelist);
Expand Down

0 comments on commit 7630b4f

Please sign in to comment.