From fc5f2ebc44c138bebe84bcfc92792ec4ac4de39a Mon Sep 17 00:00:00 2001 From: "Alisher A. Khassanov" Date: Mon, 11 Nov 2024 11:19:59 +0400 Subject: [PATCH] Fix `ddc-primitives` missing import build error --- primitives/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/primitives/src/lib.rs b/primitives/src/lib.rs index 491650bb9..b8518e384 100644 --- a/primitives/src/lib.rs +++ b/primitives/src/lib.rs @@ -323,7 +323,8 @@ pub mod sr25519 { mod app_sr25519 { use sp_application_crypto::{app_crypto, sr25519}; - use crate::DAC_VERIFICATION_KEY_TYPE; + use crate::{String, DAC_VERIFICATION_KEY_TYPE}; + app_crypto!(sr25519, DAC_VERIFICATION_KEY_TYPE); } @@ -342,7 +343,8 @@ pub mod crypto { MultiSignature, MultiSigner, }; - use super::DAC_VERIFICATION_KEY_TYPE; + use crate::{String, DAC_VERIFICATION_KEY_TYPE}; + app_crypto!(sr25519, DAC_VERIFICATION_KEY_TYPE); pub struct OffchainIdentifierId; impl frame_system::offchain::AppCrypto for OffchainIdentifierId {