Skip to content

Commit

Permalink
chore: adjust debug level of received attestations (#9087)
Browse files Browse the repository at this point in the history
## Overview

When reviewing logs with multiple validators, this log output is far too
noisy
  • Loading branch information
Maddiaa0 authored Oct 8, 2024
1 parent f8267f2 commit eb67dd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion yarn-project/p2p/src/service/libp2p_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ export class LibP2PService implements P2PService {
* @param attestation - The attestation to process.
*/
private async processAttestationFromPeer(attestation: BlockAttestation): Promise<void> {
this.logger.verbose(`Received attestation ${attestation.p2pMessageIdentifier()} from external peer.`);
this.logger.debug(`Received attestation ${attestation.p2pMessageIdentifier()} from external peer.`);
await this.attestationPool.addAttestations([attestation]);
}

Expand Down
2 changes: 1 addition & 1 deletion yarn-project/validator-client/src/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class ValidatorClient implements Validator {
}
return undefined;
}
this.log.debug(
this.log.verbose(
`Transactions available, attesting to proposal with ${proposal.payload.txHashes.length} transactions`,
);

Expand Down

0 comments on commit eb67dd4

Please sign in to comment.