mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-04 02:04:28 +00:00
Use LighthouseTestnet
params, not FewValidators
This commit is contained in:
parent
5e435e7821
commit
cb11656e12
@ -10,7 +10,7 @@ use slot_clock::SlotClock;
|
|||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use tree_hash::TreeHash;
|
use tree_hash::TreeHash;
|
||||||
use types::{
|
use types::{
|
||||||
test_utils::TestingBeaconStateBuilder, BeaconBlock, EthSpec, FewValidatorsEthSpec, Hash256,
|
test_utils::TestingBeaconStateBuilder, BeaconBlock, EthSpec, Hash256, LighthouseTestnetEthSpec,
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Provides a new, initialized `BeaconChain`
|
/// Provides a new, initialized `BeaconChain`
|
||||||
@ -26,7 +26,7 @@ impl BeaconChainTypes for TestnetMemoryBeaconChainTypes {
|
|||||||
type Store = MemoryStore;
|
type Store = MemoryStore;
|
||||||
type SlotClock = SystemTimeSlotClock;
|
type SlotClock = SystemTimeSlotClock;
|
||||||
type ForkChoice = BitwiseLMDGhost<Self::Store, Self::EthSpec>;
|
type ForkChoice = BitwiseLMDGhost<Self::Store, Self::EthSpec>;
|
||||||
type EthSpec = FewValidatorsEthSpec;
|
type EthSpec = LighthouseTestnetEthSpec;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<T: BeaconChainTypes> InitialiseBeaconChain<T> for TestnetMemoryBeaconChainTypes {
|
impl<T: BeaconChainTypes> InitialiseBeaconChain<T> for TestnetMemoryBeaconChainTypes {
|
||||||
@ -43,7 +43,7 @@ impl BeaconChainTypes for TestnetDiskBeaconChainTypes {
|
|||||||
type Store = DiskStore;
|
type Store = DiskStore;
|
||||||
type SlotClock = SystemTimeSlotClock;
|
type SlotClock = SystemTimeSlotClock;
|
||||||
type ForkChoice = BitwiseLMDGhost<Self::Store, Self::EthSpec>;
|
type ForkChoice = BitwiseLMDGhost<Self::Store, Self::EthSpec>;
|
||||||
type EthSpec = FewValidatorsEthSpec;
|
type EthSpec = LighthouseTestnetEthSpec;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<T: BeaconChainTypes> InitialiseBeaconChain<T> for TestnetDiskBeaconChainTypes {
|
impl<T: BeaconChainTypes> InitialiseBeaconChain<T> for TestnetDiskBeaconChainTypes {
|
||||||
|
Loading…
Reference in New Issue
Block a user