Delay the Pending state until strictly after proposal.voteStart (#2892)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
This commit is contained in:
@ -559,6 +559,10 @@ contract('Governor', function (accounts) {
|
||||
|
||||
await time.advanceBlockTo(this.snapshot);
|
||||
|
||||
expect(await this.mock.state(this.id)).to.be.bignumber.equal(Enums.ProposalState.Pending);
|
||||
|
||||
await time.advanceBlock();
|
||||
|
||||
expect(await this.mock.state(this.id)).to.be.bignumber.equal(Enums.ProposalState.Active);
|
||||
});
|
||||
runGovernorWorkflow();
|
||||
|
||||
Reference in New Issue
Block a user