diff --git a/common/eth2/src/types.rs b/common/eth2/src/types.rs index 428cc17415..06c983b1a3 100644 --- a/common/eth2/src/types.rs +++ b/common/eth2/src/types.rs @@ -939,7 +939,6 @@ pub struct BeaconCommitteeSelection { } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] - pub struct SyncCommitteeSelection { #[serde(with = "serde_utils::quoted_u64")] pub validator_index: u64, diff --git a/validator_client/validator_services/src/sync.rs b/validator_client/validator_services/src/sync.rs index c5c6fbfcfb..aa7703e2cd 100644 --- a/validator_client/validator_services/src/sync.rs +++ b/validator_client/validator_services/src/sync.rs @@ -662,15 +662,6 @@ pub async fn fill_in_aggregation_proofs( ) .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)) }); } diff --git a/validator_client/validator_services/src/sync_committee_service.rs b/validator_client/validator_services/src/sync_committee_service.rs index 233100b570..d99c0d3107 100644 --- a/validator_client/validator_services/src/sync_committee_service.rs +++ b/validator_client/validator_services/src/sync_committee_service.rs @@ -380,20 +380,11 @@ impl SyncCommitteeService { 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.