mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 16:31:07 +00:00
Don’t impl ‘Staking’ for all ‘T: System’
This commit is contained in:
@@ -114,7 +114,6 @@ impl Default for ValidatorPrefs {
|
||||
/// The subset of the `frame::Trait` that a client must implement.
|
||||
#[module]
|
||||
pub trait Staking: System {}
|
||||
impl<T: System> Staking for T {}
|
||||
|
||||
/// Just a Balance/BlockNumber tuple to encode when a chunk of funds will be unlocked.
|
||||
#[derive(PartialEq, Eq, Clone, Encode, Decode)]
|
||||
|
||||
@@ -88,6 +88,8 @@ impl Session for KusamaRuntime {
|
||||
type ValidatorId = <Self as System>::AccountId;
|
||||
}
|
||||
|
||||
impl Staking for KusamaRuntime {}
|
||||
|
||||
impl Balances for KusamaRuntime {
|
||||
type Balance = u128;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user