Skip to content

Commit

Permalink
feat: set proper user-agent in validator client http requests (#7106)
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig authored and philknows committed Sep 27, 2024
1 parent 560dc7f commit 7d63979
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/cmds/validator/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7d63979

Please sign in to comment.