pallet-whitelist: add sp-api/std to std feature to fix compile error (#11077)

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
Qinxuan Chen
2022-03-21 16:37:59 +08:00
committed by GitHub
parent a52c39b8fc
commit 46bc9af1b3
3 changed files with 17 additions and 18 deletions
@@ -20,10 +20,11 @@
#![cfg(feature = "runtime-benchmarks")]
use super::*;
use core::convert::TryInto;
use frame_benchmarking::benchmarks;
use frame_support::{ensure, traits::PreimageRecipient};
use sp_runtime::traits::Hash;
use frame_support::{
ensure,
traits::{EnsureOrigin, Get, PreimageRecipient},
};
#[cfg(test)]
use crate::Pallet as Whitelist;