From 986c65061b362692e735441fe5da2adf154b2b77 Mon Sep 17 00:00:00 2001 From: MSamiTariq Date: Fri, 18 Oct 2024 17:59:15 +0500 Subject: [PATCH] added a filter for RewardsScenario --- scenario/RewardsScenario.ts | 2 +- scenario/constraints/ProposalConstraint.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scenario/RewardsScenario.ts b/scenario/RewardsScenario.ts index a879a2bb..a13762e2 100644 --- a/scenario/RewardsScenario.ts +++ b/scenario/RewardsScenario.ts @@ -225,7 +225,7 @@ for (let i = 0; i < MULTIPLIERS.length; i++) { scenario( `Comet#rewards > can claim supply rewards on scaling rewards contract with multiplier of ${MULTIPLIERS[i]}`, { - filter: async (ctx) => await isRewardSupported(ctx), + filter: async (ctx) => await isRewardSupported(ctx) && !matchesDeployment(ctx, [{network: 'scroll', deployment: 'usdc'}]), tokenBalances: { albert: { $base: ' == 100' }, // in units of asset, not wei }, diff --git a/scenario/constraints/ProposalConstraint.ts b/scenario/constraints/ProposalConstraint.ts index 6d9ff247..399819cb 100644 --- a/scenario/constraints/ProposalConstraint.ts +++ b/scenario/constraints/ProposalConstraint.ts @@ -63,7 +63,7 @@ export class ProposalConstraint implements StaticConstra } // temporary hack to skip proposal 329 - if (proposal.id.eq(348) || proposal.id.eq(349)) { + if (proposal.id.eq(349) || proposal.id.eq(350)) { console.log('Skipping proposal 329'); continue; }