Skip to content

Commit

Permalink
Update log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Sep 23, 2023
1 parent 2574fad commit d235892
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/beacon-node/src/api/impl/validator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
},
Expand Down
2 changes: 1 addition & 1 deletion packages/beacon-node/src/execution/builder/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class ExecutionBuilderHttp implements IExecutionBuilder {
async registerValidator(registrations: bellatrix.SignedValidatorRegistrationV1[]): Promise<void> {
ApiError.assert(
await this.api.registerValidator(registrations),
"Failed to submit validator registrations to builder"
"Failed to forward validator registrations to connected builder"
);
}

Expand Down
4 changes: 2 additions & 2 deletions packages/validator/src/services/prepareBeaconProposer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit d235892

Please sign in to comment.