Skip to content

Commit

Permalink
Check all builder proposer config values
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Oct 30, 2024
1 parent 005ee4c commit 8169fce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/util/proposerConfig.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import fs from "node:fs";
import path from "node:path";
import {ValidatorProposerConfig} from "@lodestar/validator";
import {isEmptyObject} from "@lodestar/utils";
import {routes} from "@lodestar/api";

import {parseFeeRecipient} from "./feeRecipient.js";

import {readFile} from "./file.js";
import {isEmptyObject} from "@lodestar/utils";

type ProposerConfig = ValidatorProposerConfig["defaultConfig"];

Expand Down
4 changes: 3 additions & 1 deletion packages/validator/src/services/validatorStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,9 @@ export class ValidatorStore {
graffiti !== undefined ||
strictFeeRecipientCheck !== undefined ||
feeRecipient !== undefined ||
!isEmptyObject(builder)
builder?.gasLimit !== undefined ||
builder?.selection !== undefined ||
builder?.boostFactor !== undefined
) {
proposerConfig = {graffiti, strictFeeRecipientCheck, feeRecipient, builder};
}
Expand Down

0 comments on commit 8169fce

Please sign in to comment.