-
Notifications
You must be signed in to change notification settings - Fork 108
refactor: use strings for GRPC uint64 fields #247
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
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.
tACK! Tried out most features and couldn't find anything not working. LGTM 💯
I ran the proto compilation on my machine. But because I have protoc 3.12.x installed I got quite a large diff. I think we should probably move over to docker for generating the protos and also possibly update the protoc version being used. Going to open a PR for this.
|
Thanks for the feedback and testing. The suggested changes have been made. |
This PR is a big refactoring to use strings to transmit large numbers via GRPC and big.js for large numeric variables within the application. This resolves issues with JS number overflow.
Since many of the GRPC field types changed from
numbertostring, a large portion of the codebase needed to be updated for it to even compile. The commits are broken down based on the section of the code that was updated. Each commit will not compile on its own except for the last one.There are no functional changes in the app. To test, just navigate around and perform some Loop and Pool actions to confirm that no errors occur.