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

@@ -69,7 +69,7 @@ impl TestCase {
/// Executes the test case, returning an `ExecutionResult`.
#[allow(clippy::cyclomatic_complexity)]
pub fn execute(&self, validators_dir: Option<&Path>) -> ExecutionResult {
pub fn execute(&self) -> ExecutionResult {
let spec = self.spec();
let validator_count = self.config.deposits_for_chain_start;
let slots = self.config.num_slots;
@@ -79,7 +79,7 @@ impl TestCase {
validator_count
);
let mut harness = BeaconChainHarness::new(spec, validator_count, validators_dir, true);
let mut harness = BeaconChainHarness::new(spec, validator_count);
info!("Starting simulation across {} slots...", slots);