Delay the Pending state until strictly after proposal.voteStart (#2892)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
This commit is contained in:
@ -58,7 +58,7 @@ function runGovernorWorkflow () {
|
||||
tryGet(this.settings, 'steps.propose.error') === undefined &&
|
||||
tryGet(this.settings, 'steps.propose.noadvance') !== true
|
||||
) {
|
||||
await time.advanceBlockTo(this.snapshot);
|
||||
await time.advanceBlockTo(this.snapshot.addn(1));
|
||||
}
|
||||
}
|
||||
|
||||
@ -92,7 +92,7 @@ function runGovernorWorkflow () {
|
||||
|
||||
// fast forward
|
||||
if (tryGet(this.settings, 'steps.wait.enable') !== false) {
|
||||
await time.advanceBlockTo(this.deadline);
|
||||
await time.advanceBlockTo(this.deadline.addn(1));
|
||||
}
|
||||
|
||||
// queue
|
||||
|
||||
Reference in New Issue
Block a user