mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 03:31:10 +00:00
Remove more code not needed for Ledgeracio
This commit is contained in:
+1
-26
@@ -24,11 +24,6 @@ use codec::{
|
||||
Decode,
|
||||
Encode,
|
||||
};
|
||||
use frame_support::Parameter;
|
||||
use sp_runtime::traits::{
|
||||
MaybeSerialize,
|
||||
Member,
|
||||
};
|
||||
|
||||
use std::{
|
||||
collections::BTreeMap,
|
||||
@@ -69,27 +64,7 @@ pub struct SetPayeeCall<T: Staking> {
|
||||
|
||||
/// The subset of the `frame::Trait` that a client must implement.
|
||||
#[module]
|
||||
pub trait Staking: Balances {
|
||||
/// Data type used to index nominators in the compact type
|
||||
type NominatorIndex: Parameter
|
||||
+ codec::Codec
|
||||
+ Member
|
||||
+ Default
|
||||
+ Copy
|
||||
+ MaybeSerialize
|
||||
+ Debug;
|
||||
|
||||
/// Data type used to index validators in the compact type.
|
||||
type ValidatorIndex: Parameter
|
||||
+ codec::Codec
|
||||
+ Send
|
||||
+ Sync
|
||||
+ Default
|
||||
+ Member
|
||||
+ Copy
|
||||
+ MaybeSerialize
|
||||
+ Debug;
|
||||
}
|
||||
pub trait Staking: Balances {}
|
||||
|
||||
/// Number of eras to keep in history.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user