From 40f0faedefb1b75a2b47404d5b03643b04e69754 Mon Sep 17 00:00:00 2001 From: gmbronco <83549293+gmbronco@users.noreply.github.com> Date: Sun, 8 Sep 2024 09:02:50 +0200 Subject: [PATCH] fix: merkl rewards by official chains --- modules/actions/aprs/merkl.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/actions/aprs/merkl.ts b/modules/actions/aprs/merkl.ts index fa0f8617..14d7738c 100644 --- a/modules/actions/aprs/merkl.ts +++ b/modules/actions/aprs/merkl.ts @@ -38,7 +38,8 @@ const fetchMerklCampaigns = async () => { }) .flat(2) .filter((campaign) => campaign.type === 'balancerPool') - .filter((campaign) => campaign.campaignParameters.whitelist.length === 0); + .filter((campaign) => campaign.campaignParameters.whitelist.length === 0) + .filter((campaign) => Object.keys(chainIdToChain).includes(String(campaign.computeChainId))); return campaigns; };