Rename EpochCache to CommitteeCache

This commit is contained in:
Paul Hauner
2019-05-20 14:36:54 +10:00
parent cb74187cfc
commit 6660311b2b
10 changed files with 78 additions and 70 deletions

View File

@@ -30,7 +30,7 @@ pub fn get_genesis_state<T: EthSpec>(
}
// Ensure the current epoch cache is built.
state.build_epoch_cache(RelativeEpoch::Current, spec)?;
state.build_committee_cache(RelativeEpoch::Current, spec)?;
// Set all the active index roots to be the genesis active index root.
let active_validator_indices = state