Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Oct 24, 2023
1 parent 8eb36c6 commit f4996d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/cli/src/options/beaconNodeOptions/execution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export type ExecutionEngineArgs = {
"execution.retryAttempts": number;
"execution.retryDelay": number;
"execution.engineMock"?: boolean;
"jwtSecret"?: string;
"jwtId"?: string;
jwtSecret?: string;
jwtId?: string;
};

export function parseArgs(args: ExecutionEngineArgs): IBeaconNodeOptions["executionEngine"] {
Expand Down Expand Up @@ -76,14 +76,14 @@ export const options: CliCommandOptions<ExecutionEngineArgs> = {
group: "execution",
},

"jwtSecret": {
jwtSecret: {
description:
"File path to a shared hex-encoded jwt secret which will be used to generate and bundle HS256 encoded jwt tokens for authentication with the EL client's rpc server hosting engine apis. Secret to be exactly same as the one used by the corresponding EL client.",
type: "string",
group: "execution",
},

"jwtId": {
jwtId: {
description:
"An optional identifier to be set in the id field of the claims included in jwt tokens used for authentication with EL client's rpc server hosting engine apis",
type: "string",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/test/unit/options/beaconNodeOptions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ describe("options / beaconNodeOptions", () => {
const beaconNodeArgsPartial = {
eth1: true,
"execution.urls": ["http://my.node:8551"],
"jwtSecret": jwtSecretFile,
jwtSecret: jwtSecretFile,
} as BeaconNodeArgs;

const expectedOptions: RecursivePartial<IBeaconNodeOptions> = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const generateLodestarBeaconNode: BeaconNodeGenerator<BeaconClient.Lodest
logLevel: LogLevel.debug,
logFileDailyRotate: 0,
logFile: "none",
"jwtSecret": jwtsecretFilePath,
jwtSecret: jwtsecretFilePath,
paramsFile: paramsPath,
...clientOptions,
} as unknown as BeaconArgs & GlobalArgs;
Expand Down

0 comments on commit f4996d2

Please sign in to comment.