mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-12-01 19:47:05 +00:00
fix(ci): remove unused imports in welati pallet, add license headers to validator-pool
welati/src/lib.rs: Currency and SaturatedConversion were unused (clippy -D warnings). pezkuwi/pezpallets/validator-pool/src/*.rs: 5 files missing Apache-2.0 SPDX headers.
This commit is contained in:
1 parent
d98dfafc49
commit
84ea4f042a
6 files changed
+27
-2
No files matched your search
@@ -197,7 +197,7 @@ impl WeightInfo for () {
|
|||||||
use pezframe_support::{
|
use pezframe_support::{
|
||||||
dispatch::{GetDispatchInfo, PostDispatchInfo},
|
dispatch::{GetDispatchInfo, PostDispatchInfo},
|
||||||
pezpallet_prelude::*,
|
pezpallet_prelude::*,
|
||||||
traits::{Currency, EnsureOrigin, Get, Randomness, ReservableCurrency},
|
traits::{EnsureOrigin, Get, Randomness, ReservableCurrency},
|
||||||
weights::Weight,
|
weights::Weight,
|
||||||
};
|
};
|
||||||
use pezframe_system::pezpallet_prelude::*;
|
use pezframe_system::pezpallet_prelude::*;
|
||||||
@@ -206,7 +206,7 @@ use pezpallet_identity_kyc::types::KycLevel;
|
|||||||
use pezpallet_identity_kyc::types::KycStatus;
|
use pezpallet_identity_kyc::types::KycStatus;
|
||||||
use pezpallet_tiki::{Tiki, TikiScoreProvider};
|
use pezpallet_tiki::{Tiki, TikiScoreProvider};
|
||||||
use pezpallet_trust::TrustScoreProvider;
|
use pezpallet_trust::TrustScoreProvider;
|
||||||
use pezsp_runtime::{traits::Dispatchable, SaturatedConversion};
|
use pezsp_runtime::traits::Dispatchable;
|
||||||
use pezsp_std::{boxed::Box, vec, vec::Vec};
|
use pezsp_std::{boxed::Box, vec, vec::Vec};
|
||||||
|
|
||||||
/// Interface for getting citizenship information from other pallets.
|
/// Interface for getting citizenship information from other pallets.
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
// This file is part of PezkuwiChain.
|
||||||
|
|
||||||
|
// Copyright (C) Dijital Kurdistan Tech Institute
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
//! Benchmarking setup for pezpallet-validator-pool
|
//! Benchmarking setup for pezpallet-validator-pool
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
// This file is part of PezkuwiChain.
|
||||||
|
|
||||||
|
// Copyright (C) Dijital Kurdistan Tech Institute
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
#![cfg_attr(not(feature = "std"), no_std)]
|
#![cfg_attr(not(feature = "std"), no_std)]
|
||||||
|
|
||||||
//! # Validator Pool Pezpallet
|
//! # Validator Pool Pezpallet
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
// This file is part of PezkuwiChain.
|
||||||
|
|
||||||
|
// Copyright (C) Dijital Kurdistan Tech Institute
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::{self as pezpallet_validator_pool, types::*};
|
use crate::{self as pezpallet_validator_pool, types::*};
|
||||||
use pezframe_support::{
|
use pezframe_support::{
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
// This file is part of PezkuwiChain.
|
||||||
|
|
||||||
|
// Copyright (C) Dijital Kurdistan Tech Institute
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::{mock::*, types::OperationMode};
|
use crate::{mock::*, types::OperationMode};
|
||||||
use pezframe_support::{assert_noop, assert_ok};
|
use pezframe_support::{assert_noop, assert_ok};
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
// This file is part of PezkuwiChain.
|
||||||
|
|
||||||
|
// Copyright (C) Dijital Kurdistan Tech Institute
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
|
|
||||||
use alloc::vec::Vec;
|
use alloc::vec::Vec;
|
||||||
|
|||||||
Reference in new issue
Block a user