Change log msgs in BeaconState

Make it louder when shuffling happens, also when deposits are being
processed.
This commit is contained in:
Paul Hauner 2019-02-28 23:10:40 +11:00
parent 7108d057fb
commit e0926dcd8d
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -200,7 +200,7 @@ impl BeaconState {
let mut genesis_state =
BeaconState::genesis_without_validators(genesis_time, latest_eth1_data, spec)?;
trace!("Processing genesis deposits...");
debug!("Processing genesis deposits...");
let deposit_data = initial_validator_deposits
.par_iter()
@ -412,6 +412,8 @@ impl BeaconState {
return Err(Error::InsufficientValidators);
}
debug!("Shuffling {} validators...", active_validator_indices.len());
let committees_per_epoch =
self.get_epoch_committee_count(active_validator_indices.len(), spec);