Skip to content

Commit

Permalink
deprecate flag instead of removing
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Sep 15, 2023
1 parent 9ae9801 commit 4f9660d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/cli/src/cmds/validator/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export type IValidatorCliArgs = AccountValidatorArgs &
doppelgangerProtection?: boolean;
defaultGasLimit?: number;

builder?: boolean;
"builder.selection"?: string;

importKeystores?: string[];
Expand Down Expand Up @@ -228,6 +229,13 @@ export const validatorOptions: CliCommandOptions<IValidatorCliArgs> = {
type: "number",
},

builder: {
type: "boolean",
description: "Enable execution payload production via a builder for better rewards",
group: "builder",
deprecated: "enabling or disabling builder flow is now solely managed by `builder.selection` flag",
},

"builder.selection": {
type: "string",
description: "Default builder block selection strategy: `maxprofit`, `builderalways`, or `builderonly`",
Expand Down

0 comments on commit 4f9660d

Please sign in to comment.