mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-20 18:56:23 +00:00
fix(welati): cfg-gate Currency and SaturatedConversion imports to avoid unused-import in benchmarks
clippy runs with --all-features (includes runtime-benchmarks) so the #[cfg(not(feature = "runtime-benchmarks"))] block is excluded and the imports appeared unused. check-try-runtime runs without runtime-benchmarks so the block is included and the imports are required.
This commit is contained in:
1 parent
606b7d3021
commit
c61bccc9ae
1 file changed
+4
@@ -207,6 +207,10 @@ use pezpallet_identity_kyc::types::KycStatus;
|
||||
use pezpallet_tiki::{Tiki, TikiScoreProvider};
|
||||
use pezpallet_trust::TrustScoreProvider;
|
||||
use pezsp_runtime::traits::Dispatchable;
|
||||
#[cfg(not(feature = "runtime-benchmarks"))]
|
||||
use pezframe_support::traits::Currency;
|
||||
#[cfg(not(feature = "runtime-benchmarks"))]
|
||||
use pezsp_runtime::SaturatedConversion;
|
||||
use pezsp_std::{boxed::Box, vec, vec::Vec};
|
||||
|
||||
/// Interface for getting citizenship information from other pallets.
|
||||
|
||||
Reference in new issue
Block a user