mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-17 20:02:43 +00:00
remove logging
This commit is contained in:
@@ -662,15 +662,6 @@ pub async fn fill_in_aggregation_proofs<T: SlotClock + 'static, E: EthSpec>(
|
||||
)
|
||||
.await;
|
||||
|
||||
if let Some(proof) = &result {
|
||||
debug!(
|
||||
validator_index = duty.validator_index,
|
||||
"slot" = %proof_slot,
|
||||
"subcommittee_index" = *subnet_id,
|
||||
"full selection proof" = ?proof,
|
||||
"Selection proof in result variable"
|
||||
);
|
||||
}
|
||||
result.map(|proof| (duty.validator_index, proof_slot, subnet_id, proof))
|
||||
});
|
||||
}
|
||||
|
||||
@@ -380,20 +380,11 @@ impl<T: SlotClock + 'static, E: EthSpec> SyncCommitteeService<T, E> {
|
||||
aggregator_index,
|
||||
aggregator_pk,
|
||||
contribution.clone(),
|
||||
selection_proof.clone(),
|
||||
selection_proof,
|
||||
)
|
||||
.await
|
||||
{
|
||||
Ok(signed_contribution) => {
|
||||
debug!(
|
||||
validator_index = aggregator_index,
|
||||
%slot,
|
||||
subcommittee_index = %subnet_id,
|
||||
full_selection_proof = ?selection_proof,
|
||||
"Produced sync contribution and proof"
|
||||
);
|
||||
Some(signed_contribution)
|
||||
}
|
||||
Ok(signed_contribution) => Some(signed_contribution),
|
||||
Err(ValidatorStoreError::UnknownPubkey(pubkey)) => {
|
||||
// A pubkey can be missing when a validator was recently
|
||||
// removed via the API.
|
||||
|
||||
Reference in New Issue
Block a user