From a8de94ca133ddfb63ced7d02d3432f3166b8bcbb Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Fri, 23 Aug 2019 13:02:17 +1000 Subject: [PATCH] Remove unnecessary trait bounds --- beacon_node/beacon_chain/src/test_utils.rs | 4 ++-- beacon_node/client/src/beacon_chain_types.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/beacon_node/beacon_chain/src/test_utils.rs b/beacon_node/beacon_chain/src/test_utils.rs index bd51f8620..09f4749ea 100644 --- a/beacon_node/beacon_chain/src/test_utils.rs +++ b/beacon_node/beacon_chain/src/test_utils.rs @@ -55,7 +55,7 @@ where impl BeaconChainTypes for CommonTypes where L: LmdGhost + 'static, - E: EthSpec + 'static, + E: EthSpec, { type Store = MemoryStore; type SlotClock = TestingSlotClock; @@ -70,7 +70,7 @@ where pub struct BeaconChainHarness where L: LmdGhost + 'static, - E: EthSpec + 'static, + E: EthSpec, { pub chain: BeaconChain>, pub keypairs: Vec, diff --git a/beacon_node/client/src/beacon_chain_types.rs b/beacon_node/client/src/beacon_chain_types.rs index adea8c7b5..5168c067a 100644 --- a/beacon_node/client/src/beacon_chain_types.rs +++ b/beacon_node/client/src/beacon_chain_types.rs @@ -39,7 +39,7 @@ pub struct ClientType { impl BeaconChainTypes for ClientType where S: Store + 'static, - E: EthSpec + 'static + Clone, + E: EthSpec, { type Store = S; type SlotClock = SystemTimeSlotClock;