remove logging

This commit is contained in:
Tan Chee Keong
2025-04-23 13:24:50 +08:00
parent 2bcb984f80
commit 23c901345a
3 changed files with 2 additions and 21 deletions

View File

@@ -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))
});
}

View File

@@ -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.