Remove unnecessary trait bounds
This commit is contained in:
parent
a358bbc1b1
commit
a8de94ca13
@ -55,7 +55,7 @@ where
|
|||||||
impl<L, E> BeaconChainTypes for CommonTypes<L, E>
|
impl<L, E> BeaconChainTypes for CommonTypes<L, E>
|
||||||
where
|
where
|
||||||
L: LmdGhost<MemoryStore, E> + 'static,
|
L: LmdGhost<MemoryStore, E> + 'static,
|
||||||
E: EthSpec + 'static,
|
E: EthSpec,
|
||||||
{
|
{
|
||||||
type Store = MemoryStore;
|
type Store = MemoryStore;
|
||||||
type SlotClock = TestingSlotClock;
|
type SlotClock = TestingSlotClock;
|
||||||
@ -70,7 +70,7 @@ where
|
|||||||
pub struct BeaconChainHarness<L, E>
|
pub struct BeaconChainHarness<L, E>
|
||||||
where
|
where
|
||||||
L: LmdGhost<MemoryStore, E> + 'static,
|
L: LmdGhost<MemoryStore, E> + 'static,
|
||||||
E: EthSpec + 'static,
|
E: EthSpec,
|
||||||
{
|
{
|
||||||
pub chain: BeaconChain<CommonTypes<L, E>>,
|
pub chain: BeaconChain<CommonTypes<L, E>>,
|
||||||
pub keypairs: Vec<Keypair>,
|
pub keypairs: Vec<Keypair>,
|
||||||
|
@ -39,7 +39,7 @@ pub struct ClientType<S: Store, E: EthSpec> {
|
|||||||
impl<S, E> BeaconChainTypes for ClientType<S, E>
|
impl<S, E> BeaconChainTypes for ClientType<S, E>
|
||||||
where
|
where
|
||||||
S: Store + 'static,
|
S: Store + 'static,
|
||||||
E: EthSpec + 'static + Clone,
|
E: EthSpec,
|
||||||
{
|
{
|
||||||
type Store = S;
|
type Store = S;
|
||||||
type SlotClock = SystemTimeSlotClock;
|
type SlotClock = SystemTimeSlotClock;
|
||||||
|
Loading…
Reference in New Issue
Block a user