From 05cb5169402476ad57118d49dfd97bd70eccbda1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20=27birdy=27=20Danjou?= Date: Thu, 7 Sep 2023 04:31:46 +0200 Subject: [PATCH] test() increase timeout --- test/governor/GovernorZama.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/governor/GovernorZama.ts b/test/governor/GovernorZama.ts index 104574b6..cfe53fcf 100644 --- a/test/governor/GovernorZama.ts +++ b/test/governor/GovernorZama.ts @@ -39,7 +39,7 @@ describe('GovernorZama', function () { ['getBalanceOf(address)'], callDatas, 'do nothing', - { gasLimit: 1000000 }, + { gasLimit: 500000 }, ); await tx.wait(); const proposalId = await this.governor.latestProposalIds(this.signers.alice.address); @@ -52,7 +52,7 @@ describe('GovernorZama', function () { const txVote = await this.governor['castVote(uint256,bytes)'](1, encryptedSupport); const results = await txVote.wait(); expect(results?.status).to.equal(1); - }); + }).timeout(120000); it('should cancel', async function () { await this.comp.delegate(this.signers.alice.address); @@ -73,9 +73,9 @@ describe('GovernorZama', function () { const state = await this.governor.state(proposalId); expect(state).to.equal(1n); - const txCancel = await this.governor.cancel(proposalId, { gasLimit: 1000000 }); + const txCancel = await this.governor.cancel(proposalId); await txCancel.wait(); const newState = await this.governor.state(proposalId); expect(newState).to.equal(2n); - }); + }).timeout(120000); });