-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fit Fixed16 balance from sidechain in decimal response #122
Comments
Found that if the balance exceeds maximum At the same time |
While it is correct, the roots of the issue are a bit deeper. First of all, both neo-go and neo runtimes are capable to work with 256-bit integers. However, both of them use JSON to encode and decode invocation arguments and stack items of invocation result. In RFC 7159 section 6 there is a recommendation to encode numbers in range Neo node throws error if the number is out of this bound, while neo-go node can return any Back to the balance contract. Now it has
With lower precision, we can limit the max size of a single Neo-go can return There are next steps to fix this issue by lowering the impact of RFC 7159 limitation:
|
I don't think we have a problem with |
Yes, that what we need to do in step 3. Implement some |
No description provided.
The text was updated successfully, but these errors were encountered: