mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
remove logging
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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))
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user