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:
Kurdistan Tech Ministry committed 2026-04-22 16:33:53 +03:00
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::{
dispatch::{GetDispatchInfo, PostDispatchInfo},
pezpallet_prelude::*,
traits::{Currency, EnsureOrigin, Get, Randomness, ReservableCurrency},
traits::{EnsureOrigin, Get, Randomness, ReservableCurrency},
weights::Weight,
};
use pezframe_system::pezpallet_prelude::*;
@@ -206,7 +206,7 @@ use pezpallet_identity_kyc::types::KycLevel;
use pezpallet_identity_kyc::types::KycStatus;
use pezpallet_tiki::{Tiki, TikiScoreProvider};
use pezpallet_trust::TrustScoreProvider;
use pezsp_runtime::{traits::Dispatchable, SaturatedConversion};
use pezsp_runtime::traits::Dispatchable;
use pezsp_std::{boxed::Box, vec, vec::Vec};
/// 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
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)]
//! # 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 crate::{self as pezpallet_validator_pool, types::*};
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 crate::{mock::*, types::OperationMode};
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;
use alloc::vec::Vec;