Change log msgs in BeaconState
Make it louder when shuffling happens, also when deposits are being processed.
This commit is contained in:
parent
7108d057fb
commit
e0926dcd8d
@ -200,7 +200,7 @@ impl BeaconState {
|
|||||||
let mut genesis_state =
|
let mut genesis_state =
|
||||||
BeaconState::genesis_without_validators(genesis_time, latest_eth1_data, spec)?;
|
BeaconState::genesis_without_validators(genesis_time, latest_eth1_data, spec)?;
|
||||||
|
|
||||||
trace!("Processing genesis deposits...");
|
debug!("Processing genesis deposits...");
|
||||||
|
|
||||||
let deposit_data = initial_validator_deposits
|
let deposit_data = initial_validator_deposits
|
||||||
.par_iter()
|
.par_iter()
|
||||||
@ -412,6 +412,8 @@ impl BeaconState {
|
|||||||
return Err(Error::InsufficientValidators);
|
return Err(Error::InsufficientValidators);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
debug!("Shuffling {} validators...", active_validator_indices.len());
|
||||||
|
|
||||||
let committees_per_epoch =
|
let committees_per_epoch =
|
||||||
self.get_epoch_committee_count(active_validator_indices.len(), spec);
|
self.get_epoch_committee_count(active_validator_indices.len(), spec);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user