Add tests for BeaconChain persistence + fix bugs

This commit is contained in:
Paul Hauner
2019-11-30 13:33:07 +11:00
parent 10929e8255
commit a2d071e681
9 changed files with 289 additions and 49 deletions

View File

@@ -37,7 +37,7 @@ fn get_store(db_path: &TempDir) -> Arc<DiskStore> {
}
fn get_harness(store: Arc<DiskStore>, validator_count: usize) -> TestHarness {
let harness = BeaconChainHarness::with_disk_store(
let harness = BeaconChainHarness::new_with_disk_store(
MinimalEthSpec,
store,
KEYPAIRS[0..validator_count].to_vec(),