Skip to content

Commit

Permalink
temporary remove pre-failed proposals
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriy-woof-software committed May 6, 2024
1 parent a79a46d commit 412a70a
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions scenario/constraints/ProposalConstraint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,17 @@ export class ProposalConstraint<T extends CometContext> 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) {
Expand Down

0 comments on commit 412a70a

Please sign in to comment.