mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 04:48:21 +00:00
Remove dupe info between ChainSpec and EthSpec
This commit is contained in:
@@ -85,8 +85,11 @@ mod test {
|
||||
use types::{test_utils::TestingBeaconStateBuilder, FoundationEthSpec, Keypair};
|
||||
|
||||
fn get_state<T: EthSpec>() -> BeaconState<T> {
|
||||
let builder =
|
||||
TestingBeaconStateBuilder::from_single_keypair(0, &Keypair::random(), &T::spec());
|
||||
let builder = TestingBeaconStateBuilder::from_single_keypair(
|
||||
0,
|
||||
&Keypair::random(),
|
||||
&T::default_spec(),
|
||||
);
|
||||
let (state, _keypairs) = builder.build();
|
||||
state
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user