From ae965dba24029a2c6a84df724ec699fac5277ee3 Mon Sep 17 00:00:00 2001 From: gmbronco <83549293+gmbronco@users.noreply.github.com> Date: Sun, 8 Sep 2024 09:05:13 +0200 Subject: [PATCH] fix: merkl rewards by official chains (#911) --- 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; };