From d2358928bdb03c0ffbd7a1249ae1787b04a5da2e Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Sat, 23 Sep 2023 18:24:35 +0200 Subject: [PATCH] Update log messages --- packages/beacon-node/src/api/impl/validator/index.ts | 2 +- packages/beacon-node/src/execution/builder/http.ts | 2 +- packages/validator/src/services/prepareBeaconProposer.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/beacon-node/src/api/impl/validator/index.ts b/packages/beacon-node/src/api/impl/validator/index.ts index 3537e5594cdc..4df8a66a9754 100644 --- a/packages/beacon-node/src/api/impl/validator/index.ts +++ b/packages/beacon-node/src/api/impl/validator/index.ts @@ -844,7 +844,7 @@ export function getValidatorApi({ await chain.executionBuilder.registerValidator(filteredRegistrations); - logger.debug("Submitted validator registrations to builder", { + logger.debug("Forwarded validator registrations to connected builder", { count: filteredRegistrations.length, }); }, diff --git a/packages/beacon-node/src/execution/builder/http.ts b/packages/beacon-node/src/execution/builder/http.ts index 3070a02dafb8..1bbc7b090314 100644 --- a/packages/beacon-node/src/execution/builder/http.ts +++ b/packages/beacon-node/src/execution/builder/http.ts @@ -86,7 +86,7 @@ export class ExecutionBuilderHttp implements IExecutionBuilder { async registerValidator(registrations: bellatrix.SignedValidatorRegistrationV1[]): Promise { ApiError.assert( await this.api.registerValidator(registrations), - "Failed to submit validator registrations to builder" + "Failed to forward validator registrations to connected builder" ); } diff --git a/packages/validator/src/services/prepareBeaconProposer.ts b/packages/validator/src/services/prepareBeaconProposer.ts index d8fec0feac01..46842a6cebc3 100644 --- a/packages/validator/src/services/prepareBeaconProposer.ts +++ b/packages/validator/src/services/prepareBeaconProposer.ts @@ -106,9 +106,9 @@ export function pollBuilderValidatorRegistration( }) ); ApiError.assert(await api.validator.registerValidator(registrations)); - logger.info("Published validator registrations to builder", {epoch, count: registrations.length}); + logger.info("Published validator registrations to the builder network", {epoch, count: registrations.length}); } catch (e) { - logger.error("Failed to publish validator registrations to builder", {epoch}, e as Error); + logger.error("Failed to publish validator registrations to the builder network", {epoch}, e as Error); } } }