Fix test_harness tests

They were broken by changes to TestingBeaconStateBuilder and where the
keypairs file is stored.
This commit is contained in:
Paul Hauner
2019-03-13 11:25:17 +11:00
parent 2d2ba6576b
commit 6c4e457c8a
4 changed files with 10 additions and 95 deletions

View File

@@ -10,7 +10,7 @@ fn it_can_build_on_genesis_block() {
let spec = ChainSpec::few_validators();
let validator_count = 8;
let mut harness = BeaconChainHarness::new(spec, validator_count as usize, None, true);
let mut harness = BeaconChainHarness::new(spec, validator_count as usize);
harness.advance_chain_with_block();
}
@@ -25,7 +25,7 @@ fn it_can_produce_past_first_epoch_boundary() {
debug!("Starting harness build...");
let mut harness = BeaconChainHarness::new(spec, validator_count, None, true);
let mut harness = BeaconChainHarness::new(spec, validator_count);
debug!("Harness built, tests starting..");