From 4524b8814c033950fcf1a1d7c9a2d9e661d3ebd2 Mon Sep 17 00:00:00 2001 From: Alexandr Kazachenko Date: Tue, 3 Dec 2024 16:58:24 +0500 Subject: [PATCH] fix: fix circular dependency issue (#166) --- 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";