From 52b8aba037595fbbcab52884b5b1dd155cc2e1ca Mon Sep 17 00:00:00 2001 From: shoom3301 Date: Tue, 3 Dec 2024 16:54:20 +0500 Subject: [PATCH] fix: fix circular dependency issue --- src/types/model.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/types/model.ts b/src/types/model.ts index f417d2c..4bcba5c 100644 --- a/src/types/model.ts +++ b/src/types/model.ts @@ -8,7 +8,8 @@ import { PollResult, } from "@cowprotocol/cow-sdk"; import { DBService } from "../services"; -import { getLogger, metrics } from "../utils"; +import * as metrics from "../utils/metrics"; +import { getLogger } from "../utils/logging"; // Standardise the storage key const LAST_NOTIFIED_ERROR_STORAGE_KEY = "LAST_NOTIFIED_ERROR";