Skip to content

Commit a2a9bbb

Browse files
authored
Merge pull request #1092 from opentensor/fix/admin-utils-benchmarks
Fix admin utils benchmarks
2 parents 552fa1b + 8ac4b83 commit a2a9bbb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pallets/admin-utils/src/benchmarking.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
//! Benchmarking setup
22
#![cfg(feature = "runtime-benchmarks")]
33
#![allow(clippy::arithmetic_side_effects)]
4-
use super::*;
4+
5+
extern crate alloc;
6+
use alloc::vec::Vec;
57

68
#[allow(unused)]
79
use crate::Pallet as AdminUtils;
@@ -10,6 +12,8 @@ use frame_benchmarking::v2::*;
1012
use frame_support::BoundedVec;
1113
use frame_system::RawOrigin;
1214

15+
use super::*;
16+
1317
#[benchmarks]
1418
mod benchmarks {
1519
use super::*;

0 commit comments

Comments
 (0)