From f8de47b6b1da6436b42df739ff49306e30c58777 Mon Sep 17 00:00:00 2001 From: "prd-carapulse[bot]" <264278285+prd-carapulse[bot]@users.noreply.github.com> Date: Tue, 19 May 2026 08:57:36 +0000 Subject: [PATCH] fix: migrate deprecated Morpho API fields Migrates deprecated Morpho API GraphQL fields/filters before the 2026-05-20 removal. Requested in Slack thread C0B3BFBE6AK / 1779090576.528369. --- test/json/validation/custom-warnings.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/json/validation/custom-warnings.test.ts b/test/json/validation/custom-warnings.test.ts index 261bc3f3..51465512 100644 --- a/test/json/validation/custom-warnings.test.ts +++ b/test/json/validation/custom-warnings.test.ts @@ -360,8 +360,8 @@ describe("custom-warnings.json - vault and market existence in Morpho API", () = ): Promise<{ uniqueKey: string } | null> { const query = ` query MarketByUniqueKey($uniqueKey: String!, $chainId: Int!) { - marketByUniqueKey(uniqueKey: $uniqueKey, chainId: $chainId) { - uniqueKey + marketByUniqueKey: marketById(marketId: $uniqueKey, chainId: $chainId) { + uniqueKey: marketId } } `;