From 5c24496cbfd0dfedd49b8af30cb7b530356fc35a Mon Sep 17 00:00:00 2001 From: Gowtham S Date: Mon, 21 Oct 2024 14:14:43 +0530 Subject: [PATCH] fix: filter inactive avs when monitoring operator apy --- packages/seeder/src/monitors/operatorApy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/seeder/src/monitors/operatorApy.ts b/packages/seeder/src/monitors/operatorApy.ts index 5f71d32a..f5b2aadb 100644 --- a/packages/seeder/src/monitors/operatorApy.ts +++ b/packages/seeder/src/monitors/operatorApy.ts @@ -30,9 +30,9 @@ export async function monitorOperatorApy() { select: { strategyAddress: true, shares: true } }, avs: { + where: { isActive: true }, select: { avsAddress: true, - isActive: true, avs: { select: { address: true,