From 7d639793e7ca0b186433c3497e816517906b0673 Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Wed, 25 Sep 2024 13:19:34 +0100 Subject: [PATCH] feat: set proper user-agent in validator client http requests (#7106) --- packages/cli/src/cmds/validator/handler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/cli/src/cmds/validator/handler.ts b/packages/cli/src/cmds/validator/handler.ts index 01c15126b796..53250c2c9a86 100644 --- a/packages/cli/src/cmds/validator/handler.ts +++ b/packages/cli/src/cmds/validator/handler.ts @@ -157,6 +157,7 @@ export async function validatorHandler(args: IValidatorCliArgs & GlobalArgs): Pr globalInit: { requestWireFormat: parseWireFormat(args, "http.requestWireFormat"), responseWireFormat: parseWireFormat(args, "http.responseWireFormat"), + headers: {"User-Agent": `Lodestar/${version}`}, }, }, logger,