From 588cd8d90fbfe4d3237aa7a8841c43c880f0584f Mon Sep 17 00:00:00 2001 From: "Alisher A. Khassanov" Date: Thu, 12 Dec 2024 21:55:01 +0500 Subject: [PATCH] Import support trait into scope --- pallets/ddc-verification/src/lib.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pallets/ddc-verification/src/lib.rs b/pallets/ddc-verification/src/lib.rs index 2aa135310..2b99a8226 100644 --- a/pallets/ddc-verification/src/lib.rs +++ b/pallets/ddc-verification/src/lib.rs @@ -26,7 +26,7 @@ use ddc_primitives::{ }; use frame_support::{ pallet_prelude::*, - traits::{Currency, Get, OneSessionHandler}, + traits::{Currency, Get, OneSessionHandler, StorageVersion}, }; use frame_system::{ offchain::{Account, AppCrypto, CreateSignedTransaction, SendSignedTransaction, Signer}, @@ -101,8 +101,7 @@ pub mod pallet { use super::*; /// The current storage version. - const STORAGE_VERSION: frame_support::traits::StorageVersion = - frame_support::traits::StorageVersion::new(1); + const STORAGE_VERSION = StorageVersion::new(1); const _SUCCESS_CODE: u16 = 200; const _BUF_SIZE: usize = 128;