Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
frangio committed Jul 12, 2023
1 parent bcb0b84 commit fd0ef64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/governance/extensions/GovernorTimelockControl.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,16 @@ contract('GovernorTimelockControl', function (accounts) {
});

describe('on execute', function () {
it('if not queued', async function () {
it.only('if not queued', async function () {
await this.helper.propose();
await this.helper.waitForSnapshot();
await this.helper.vote({ support: Enums.VoteType.For }, { from: voter1 });
await this.helper.waitForDeadline(+1);

expect(await this.mock.state(this.proposal.id)).to.be.bignumber.equal(Enums.ProposalState.Succeeded);

console.log(this.mock.address, this.proposal.shortProposal[3]);

await expectRevertCustomError(this.helper.execute(), 'TimelockUnexpectedOperationState', [
this.proposal.timelockid,
proposalStatesToBitMap(Enums.OperationState.Ready),
Expand Down

0 comments on commit fd0ef64

Please sign in to comment.