diff --git a/beacon_node/beacon_chain/src/validator_pubkey_cache.rs b/beacon_node/beacon_chain/src/validator_pubkey_cache.rs index 877c297a3b..0866b0d0cf 100644 --- a/beacon_node/beacon_chain/src/validator_pubkey_cache.rs +++ b/beacon_node/beacon_chain/src/validator_pubkey_cache.rs @@ -64,6 +64,8 @@ impl ValidatorPubkeyCache { } } + debug!(indices = indices.len(), "Loaded pubkey cache from store"); + Ok(ValidatorPubkeyCache { pubkeys, indices, @@ -105,6 +107,11 @@ impl ValidatorPubkeyCache { self.pubkeys.reserve(validator_keys.len()); self.indices.reserve(validator_keys.len()); + debug!( + count = validator_keys.len(), + "Importing new pubkeys to the pubkey cache" + ); + let mut store_ops = Vec::with_capacity(validator_keys.len()); for pubkey_bytes in validator_keys { let i = self.pubkeys.len();