Add state helpers from #148

This commit is contained in:
Paul Hauner
2019-01-28 19:12:20 +11:00
parent f92b9d618a
commit 6a4252b8c6
10 changed files with 167 additions and 65 deletions

View File

@@ -3,8 +3,9 @@ use types::ChainSpec;
#[test]
fn it_can_build_on_genesis_block() {
let validator_count = 2;
let mut harness = BeaconChainHarness::new(ChainSpec::foundation(), validator_count);
let validator_count = 10;
let spec = ChainSpec::foundation();
let mut harness = BeaconChainHarness::new(spec, validator_count);
harness.advance_chain_with_block();
}