From 412a70a7faba8141d9840aec4f6671d8f69753d5 Mon Sep 17 00:00:00 2001 From: dmitriy-bergman-works Date: Tue, 7 May 2024 00:53:06 +0300 Subject: [PATCH] temporary remove pre-failed proposals --- scenario/constraints/ProposalConstraint.ts | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/scenario/constraints/ProposalConstraint.ts b/scenario/constraints/ProposalConstraint.ts index 83e5c967d..f439b8c21 100644 --- a/scenario/constraints/ProposalConstraint.ts +++ b/scenario/constraints/ProposalConstraint.ts @@ -66,13 +66,17 @@ export class ProposalConstraint implements StaticConstra // Execute the proposal debug(`${label} Processing pending proposal ${proposal.id}`); if (isBridged) { - await executeOpenProposalAndRelay( - governanceDeploymentManager, - ctx.world.deploymentManager, - proposal - ); + if(![246, 247].includes(proposal.id.toNumber())){ + await executeOpenProposalAndRelay( + governanceDeploymentManager, + ctx.world.deploymentManager, + proposal + ); + } } else { - await executeOpenProposal(governanceDeploymentManager, proposal); + if(![246, 247].includes(proposal.id.toNumber())){ + await executeOpenProposal(governanceDeploymentManager, proposal); + } } debug(`${label} Open proposal ${proposal.id} was executed`); } catch (err) {