mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 12:38:04 +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;
|
||||
pub mod weights;
|
||||
|
||||
use codec::{Decode, DecodeLimit, Encode, FullCodec, MaxEncodedLen};
|
||||
use codec::{DecodeLimit, Encode, FullCodec};
|
||||
use frame_support::{
|
||||
ensure,
|
||||
traits::{PreimageProvider, PreimageRecipient},
|
||||
@@ -51,12 +51,6 @@ use sp_std::prelude::*;
|
||||
|
||||
pub use pallet::*;
|
||||
|
||||
#[derive(Clone, Encode, Decode, TypeInfo, MaxEncodedLen)]
|
||||
pub struct Preimage<BoundedVec, Balance, AccountId> {
|
||||
preimage: BoundedVec,
|
||||
deposit: Option<(AccountId, Balance)>,
|
||||
}
|
||||
|
||||
#[frame_support::pallet]
|
||||
pub mod pallet {
|
||||
use super::*;
|
||||
|
||||
Reference in New Issue
Block a user