Closed frolosofsky closed 5 years ago
Fixes floating tests by adjusting blocks count generation: after deposit is set up, generate blocks up to the epoch where finalizer starts voting, and stop right on the checkpoint. That ensures we don't miss any vote when generate further epochs.
Fixes #927.
Every test passed 50 runs on Travis and zillion runs on my machine.
https://travis-ci.com/dtr-org/unit-e/builds/107746620
@dsaveliev moved #930 fix to his PR (#921). At the moment this PR fixes only one test!
Fixes floating tests by adjusting blocks count generation: after deposit is set up, generate blocks up to the epoch where finalizer starts voting, and stop right on the checkpoint. That ensures we don't miss any vote when generate further epochs.
Fixes #927.