-
Notifications
You must be signed in to change notification settings - Fork 253
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
test: add QGB queries test #1374
Conversation
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.
LGTM with one small test name fix
Co-authored-by: Rootul P <rootulp@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #1374 +/- ##
=======================================
Coverage 48.35% 48.35%
=======================================
Files 79 79
Lines 4438 4438
=======================================
Hits 2146 2146
Misses 2113 2113
Partials 179 179 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
_, cctx := testnode.DefaultNetwork(t, time.Millisecond) | ||
h, err := cctx.WaitForHeightWithTimeout(401, time.Minute) |
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.
[definitely optional]
if we don't want to wait a minute here, we can change the genesis state to include a significantly shorter data window param
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.
We won't wait a minute. It's just a worst case scenario. Generally, with a block time of 1ms, 401 blocks will be created in less than half a second.
Yes, we can do that, but ,with fast blocktime, i dont see why tinker with the genesis state and do more changes.
Im okey with any tbh, whichever you prefer 🐱
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.
its fine as is, just an optimization 👍
Overview
Closes #1343
Checklist