diff --git a/lerna.json b/lerna.json index fdaff0be1060..ea77448f623c 100644 --- a/lerna.json +++ b/lerna.json @@ -3,7 +3,6 @@ "packages/*" ], "npmClient": "yarn", - "useWorkspaces": true, "useNx": true, "version": "1.11.1", "stream": "true", diff --git a/packages/beacon-node/test/unit/monitoring/service.test.ts b/packages/beacon-node/test/unit/monitoring/service.test.ts index e0f208d27c3e..ecc085917cf6 100644 --- a/packages/beacon-node/test/unit/monitoring/service.test.ts +++ b/packages/beacon-node/test/unit/monitoring/service.test.ts @@ -217,7 +217,7 @@ describe("monitoring / service", () => { const endpoint = `${baseUrl}${remoteServiceRoutes.pending}`; service = new MonitoringService("beacon", {endpoint, collectSystemStats: false}, {register, logger}); - service.send().finally(() => { + void service.send().finally(() => { try { assertError({message: new ErrorAborted("request").message}); done(); diff --git a/packages/db/src/controller/level.ts b/packages/db/src/controller/level.ts index cc57676debd9..3eed75958e3e 100644 --- a/packages/db/src/controller/level.ts +++ b/packages/db/src/controller/level.ts @@ -31,7 +31,7 @@ const DB_SIZE_METRIC_INTERVAL_MS = 5 * 60 * 1000; export class LevelDbController implements DatabaseController { private status = Status.started; - private dbSizeMetricInterval?: NodeJS.Timer; + private dbSizeMetricInterval?: NodeJS.Timeout; constructor( private readonly logger: Logger, diff --git a/packages/validator/src/services/indices.ts b/packages/validator/src/services/indices.ts index 2c8840b44bcd..9f65a9f24e15 100644 --- a/packages/validator/src/services/indices.ts +++ b/packages/validator/src/services/indices.ts @@ -85,9 +85,13 @@ export class IndicesService { this.pollValidatorIndicesPromise = this.pollValidatorIndicesInternal(pubkeysHex); // Once the pollValidatorIndicesInternal() resolves or rejects null the cached promise so it can be called again. - this.pollValidatorIndicesPromise.finally(() => { - this.pollValidatorIndicesPromise = null; - }); + this.pollValidatorIndicesPromise + .catch((err) => { + this.logger.error("Error polling validator indices", {}, err); + }) + .finally(() => { + this.pollValidatorIndicesPromise = null; + }); return this.pollValidatorIndicesPromise; }