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

@@ -939,7 +939,6 @@ pub struct BeaconCommitteeSelection {
} }
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct SyncCommitteeSelection { pub struct SyncCommitteeSelection {
#[serde(with = "serde_utils::quoted_u64")] #[serde(with = "serde_utils::quoted_u64")]
pub validator_index: u64, pub validator_index: u64,

View File

@@ -662,15 +662,6 @@ pub async fn fill_in_aggregation_proofs<T: SlotClock + 'static, E: EthSpec>(
) )
.await; .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)) 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_index,
aggregator_pk, aggregator_pk,
contribution.clone(), contribution.clone(),
selection_proof.clone(), selection_proof,
) )
.await .await
{ {
Ok(signed_contribution) => { Ok(signed_contribution) => Some(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)
}
Err(ValidatorStoreError::UnknownPubkey(pubkey)) => { Err(ValidatorStoreError::UnknownPubkey(pubkey)) => {
// A pubkey can be missing when a validator was recently // A pubkey can be missing when a validator was recently
// removed via the API. // removed via the API.