From eb53e4d980f11926182efedae8de1a4431160000 Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Mon, 2 Oct 2023 16:23:23 +0200 Subject: [PATCH] Revise logs final --- packages/validator/src/services/doppelgangerService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/validator/src/services/doppelgangerService.ts b/packages/validator/src/services/doppelgangerService.ts index 394e67524469..861db27769e7 100644 --- a/packages/validator/src/services/doppelgangerService.ts +++ b/packages/validator/src/services/doppelgangerService.ts @@ -77,7 +77,7 @@ export class DoppelgangerService { // It is safe to skip doppelganger detection // https://github.com/ChainSafe/lodestar/issues/5856 remainingEpochs = REMAINING_EPOCHS_IF_SKIPPED; - this.logger.info("Doppelganger detection skipped, attestation from previous epoch exists in database", { + this.logger.info("Doppelganger detection skipped for validator because restart was detected", { pubkey: truncBytes(pubkeyHex), previousEpoch, }); @@ -89,7 +89,7 @@ export class DoppelgangerService { }); } } else { - this.logger.info("Doppelganger detection skipped, validator initialized before genesis", { + this.logger.info("Doppelganger detection skipped for validator initialized before genesis", { pubkey: truncBytes(pubkeyHex), currentEpoch, });