From 52cfecb5373c7bb55dfb6b10e1319bc5afd404d1 Mon Sep 17 00:00:00 2001 From: Pablo Mendez Date: Tue, 31 Oct 2023 11:48:24 +0100 Subject: [PATCH] add missing sets for holesky --- packages/installer/package.json | 2 +- packages/installer/src/packages/packageRemove.ts | 6 ++++++ packages/utils/src/stakerUtils.ts | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/installer/package.json b/packages/installer/package.json index e3e01b1d50..3dec2e0719 100644 --- a/packages/installer/package.json +++ b/packages/installer/package.json @@ -32,7 +32,7 @@ "@dappnode/params": "^0.1.0", "@dappnode/schemas": "^0.1.8", "@dappnode/toolkit": "^0.1.20", - "@dappnode/types": "^0.1.29", + "@dappnode/types": "^0.1.30", "@dappnode/utils": "^0.1.0", "async-retry": "1.3.1", "data-uri-to-buffer": "2.0.0", diff --git a/packages/installer/src/packages/packageRemove.ts b/packages/installer/src/packages/packageRemove.ts index c40ed395b3..faa547ff11 100644 --- a/packages/installer/src/packages/packageRemove.ts +++ b/packages/installer/src/packages/packageRemove.ts @@ -149,6 +149,9 @@ async function removeStakerPkgFromDbIfSelected({ case db.executionClientLukso.get(): await db.executionClientLukso.set(undefined); break; + case db.executionClientHolesky.get(): + await db.executionClientHolesky.set(undefined); + break; case db.consensusClientMainnet.get(): await db.consensusClientMainnet.set(undefined); break; @@ -161,6 +164,9 @@ async function removeStakerPkgFromDbIfSelected({ case db.consensusClientLukso.get(): await db.consensusClientLukso.set(undefined); break; + case db.consensusClientHolesky.get(): + await db.consensusClientHolesky.set(undefined); + break; case mevBoostMainnet: await db.mevBoostMainnet.set(false); break; diff --git a/packages/utils/src/stakerUtils.ts b/packages/utils/src/stakerUtils.ts index a6c002eb84..639ac2cf04 100644 --- a/packages/utils/src/stakerUtils.ts +++ b/packages/utils/src/stakerUtils.ts @@ -83,6 +83,8 @@ const getDefaultCheckpointSync = (network: Network): string => ? "https://checkpoint-sync-prater.dappnode.io" : network === "gnosis" ? "https://checkpoint-sync-gnosis.dappnode.io" + : network === "holesky" + ? "https://checkpoint-sync-holesky.dappnode.io" : network === "lukso" ? "https://checkpoints.mainnet.lukso.network" : "";