From e0926dcd8da65e8da0f83d06b4572aabe9ccf2de Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Thu, 28 Feb 2019 23:10:40 +1100 Subject: [PATCH] Change log msgs in `BeaconState` Make it louder when shuffling happens, also when deposits are being processed. --- eth2/types/src/beacon_state.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eth2/types/src/beacon_state.rs b/eth2/types/src/beacon_state.rs index 61f270e15a..5591fa3010 100644 --- a/eth2/types/src/beacon_state.rs +++ b/eth2/types/src/beacon_state.rs @@ -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);