From 1b4dc07f772e696284ef7d3b3e5214aa6b451325 Mon Sep 17 00:00:00 2001 From: "Demi M. Obenour" Date: Sun, 17 May 2020 15:50:02 -0400 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20impl=20=E2=80=98Staking?= =?UTF-8?q?=E2=80=99=20for=20all=20=E2=80=98T:=20System=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frame/staking.rs | 1 - src/runtimes.rs | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) 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; }