ef_tests: sanity slot tests + block headers

This commit is contained in:
Michael Sproul
2019-06-04 16:35:33 +10:00
parent cf62ea090b
commit c05cf6c256
6 changed files with 124 additions and 1 deletions

View File

@@ -20,10 +20,12 @@ impl EthSpec for MinimalEthSpec {
type LatestSlashedExitLength = U64;
fn spec() -> ChainSpec {
// TODO: this spec is likely incorrect!
let mut spec = FewValidatorsEthSpec::spec();
spec.target_committee_size = 4;
spec.shuffle_round_count = 10;
spec.min_attestation_inclusion_delay = 2;
spec.slots_per_epoch = 8;
spec.slots_per_eth1_voting_period = 16;
spec
}
}