mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 15:41:02 +00:00
Remove unneeded code (#11117)
* Remove unneeded code * Remove unused imports Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
@@ -39,7 +39,7 @@ mod mock;
|
|||||||
mod tests;
|
mod tests;
|
||||||
pub mod weights;
|
pub mod weights;
|
||||||
|
|
||||||
use codec::{Decode, DecodeLimit, Encode, FullCodec, MaxEncodedLen};
|
use codec::{DecodeLimit, Encode, FullCodec};
|
||||||
use frame_support::{
|
use frame_support::{
|
||||||
ensure,
|
ensure,
|
||||||
traits::{PreimageProvider, PreimageRecipient},
|
traits::{PreimageProvider, PreimageRecipient},
|
||||||
@@ -51,12 +51,6 @@ use sp_std::prelude::*;
|
|||||||
|
|
||||||
pub use pallet::*;
|
pub use pallet::*;
|
||||||
|
|
||||||
#[derive(Clone, Encode, Decode, TypeInfo, MaxEncodedLen)]
|
|
||||||
pub struct Preimage<BoundedVec, Balance, AccountId> {
|
|
||||||
preimage: BoundedVec,
|
|
||||||
deposit: Option<(AccountId, Balance)>,
|
|
||||||
}
|
|
||||||
|
|
||||||
#[frame_support::pallet]
|
#[frame_support::pallet]
|
||||||
pub mod pallet {
|
pub mod pallet {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|||||||
Reference in New Issue
Block a user