mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-06 02:52:20 +00:00
Merge branch 'tidy-beacon-state' into test-harness-fix
This commit is contained in:
commit
b05f12cf6f
@ -1,3 +1,5 @@
|
|||||||
|
#[cfg(test)]
|
||||||
|
mod tests {
|
||||||
use crate::{
|
use crate::{
|
||||||
beacon_state::BeaconStateError, BeaconState, ChainSpec, Deposit, DepositData, DepositInput,
|
beacon_state::BeaconStateError, BeaconState, ChainSpec, Deposit, DepositData, DepositInput,
|
||||||
Eth1Data, Hash256, Keypair,
|
Eth1Data, Hash256, Keypair,
|
||||||
@ -61,10 +63,6 @@ impl BeaconStateTestBuilder {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
|
||||||
mod tests {
|
|
||||||
use super::*;
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
pub fn can_produce_genesis_block() {
|
pub fn can_produce_genesis_block() {
|
||||||
let builder = BeaconStateTestBuilder::with_random_validators(2);
|
let builder = BeaconStateTestBuilder::with_random_validators(2);
|
||||||
|
Loading…
Reference in New Issue
Block a user