Skip to content

Commit

Permalink
Import support trait into scope
Browse files Browse the repository at this point in the history
  • Loading branch information
khssnv committed Dec 12, 2024
1 parent ac9797c commit 588cd8d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pallets/ddc-verification/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 588cd8d

Please sign in to comment.