diff --git a/src/frame/staking.rs b/src/frame/staking.rs index 40b247ac63..d94e861304 100644 --- a/src/frame/staking.rs +++ b/src/frame/staking.rs @@ -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 Staking for T {} /// Just a Balance/BlockNumber tuple to encode when a chunk of funds will be unlocked. #[derive(PartialEq, Eq, Clone, Encode, Decode)] diff --git a/src/runtimes.rs b/src/runtimes.rs index 10b9bc6f1d..c11a371b70 100644 --- a/src/runtimes.rs +++ b/src/runtimes.rs @@ -88,6 +88,8 @@ impl Session for KusamaRuntime { type ValidatorId = ::AccountId; } +impl Staking for KusamaRuntime {} + impl Balances for KusamaRuntime { type Balance = u128; }