-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
client/lcd: fix tests #1491
client/lcd: fix tests #1491
Conversation
Oh cool! This also explains why lowering the bcrypt parameter didn't change the time as much as I thought it would, I was profiling cpu time. |
abd953a
to
01938ce
Compare
I updated to latest develop but now locally and on Circle I'm getting:
|
@rigelrozanski @cwgoes above issue is fixed by https://github.com/cosmos/cosmos-sdk/pull/1491/files#diff-a76d5d06816361792481ba6a8fdfc428R531 Was masked before by the startup sequence waiting longer than it should. Do we need to initialize the slashing store in InitChain or something ? And why would this only work if we wait for Block3 rather than Block2? |
Codecov Report
@@ Coverage Diff @@
## develop #1491 +/- ##
========================================
Coverage 64.48% 64.48%
========================================
Files 118 118
Lines 6493 6493
========================================
Hits 4187 4187
Misses 2050 2050
Partials 256 256 |
Probably caused by a different initial validator set and initial stake distribution; hopefully will be fixed by #1373 (otherwise we can debug further). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested ACK
* client/lcd: fix tests * circle: drop test_unit. store artifacts in test_cover * hack fix in TestUnrevoke
Much better.
The
WaitFor
funcs were totally broken. Also made the block commit time 10x faster