-
Notifications
You must be signed in to change notification settings - Fork 289
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
Use uint64 instead of int64 in QGB types #358
Use uint64 instead of int64 in QGB types #358
Conversation
Codecov Report
@@ Coverage Diff @@
## qgb-integration #358 +/- ##
==================================================
Coverage ? 12.94%
==================================================
Files ? 55
Lines ? 10061
Branches ? 0
==================================================
Hits ? 1302
Misses ? 8668
Partials ? 91 Continue to review full report at Codecov.
|
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.
the thinking around using int64 is that that is what tendermint uses for height, but I'm fine with keeping everything unsigned
@evan-forbes we can move everything to be signed to stay consistent with tendermint. Should we ? |
I could be wrong, but I think its arbitrary for our use case since we will have to convert to an evm friendly encoding of a |
being consistent makes sense tho, so up to you |
uint64 make more sense for me. I will stick with it for now and in the future, if needed, we can switch again. |
* uses the uint64 instead of int64 in right places * typo * cosmetics
To avoid confusion between data types, this PR changes int64 to uint64 in the right places