From a6641e54fb9ce0b6878bb13e4dba1d1e7216722a Mon Sep 17 00:00:00 2001 From: Gosuto Inzasheru Date: Fri, 19 Dec 2025 21:17:02 +0700 Subject: [PATCH] fix: filter out core pools with killed gauges --- bal_tools/pools_gauges.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bal_tools/pools_gauges.py b/bal_tools/pools_gauges.py index 924ea38..b39a4c3 100644 --- a/bal_tools/pools_gauges.py +++ b/bal_tools/pools_gauges.py @@ -282,7 +282,11 @@ def build_core_pools( debug: if True, return the extended core pools dict with all attributes and without whitelisting and blacklisting """ - candidates = [pool["id"] for pool in self.vebal_voting_list] + candidates = [ + pool["id"] + for pool in self.vebal_voting_list + if not pool["gauge"]["isKilled"] + ] core_pools_extended = self.filter_core_pool_candidates(candidates) if debug: