mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 05:14:35 +00:00
Make BeaconChainTypes Send + Sync + 'static
This commit is contained in:
@@ -54,8 +54,8 @@ where
|
||||
|
||||
impl<L, E> BeaconChainTypes for CommonTypes<L, E>
|
||||
where
|
||||
L: LmdGhost<MemoryStore, E>,
|
||||
E: EthSpec,
|
||||
L: LmdGhost<MemoryStore, E> + 'static,
|
||||
E: EthSpec + 'static,
|
||||
{
|
||||
type Store = MemoryStore;
|
||||
type SlotClock = TestingSlotClock;
|
||||
@@ -69,8 +69,8 @@ where
|
||||
/// Used for testing.
|
||||
pub struct BeaconChainHarness<L, E>
|
||||
where
|
||||
L: LmdGhost<MemoryStore, E>,
|
||||
E: EthSpec,
|
||||
L: LmdGhost<MemoryStore, E> + 'static,
|
||||
E: EthSpec + 'static,
|
||||
{
|
||||
pub chain: BeaconChain<CommonTypes<L, E>>,
|
||||
pub keypairs: Vec<Keypair>,
|
||||
|
||||
Reference in New Issue
Block a user