-
Notifications
You must be signed in to change notification settings - Fork 114
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
getAccountInfo for solana didn't handle uin64 correctly #1034
Comments
@LeonSha unable to reproduce - account 5vsTp9YDw83E4y5FxYatfJ73wG3sRZANV6r6RZBsniyo inactive |
This account is from devnet |
Hello @LeonSha const { result } = await tatum.rpc.getAccountInfo('5vsTp9YDw83E4y5FxYatfJ73wG3sRZANV6r6RZBsniyo', {
encoding: Encoding.Base64,
}) Which will produce
Closing issue as a resolved. |
@LeonSha I see where is the problem |
Describe the bug
A clear and concise description of what the bug is.
getAccountInfo for solana didn't handle uin64 correctly
To Reproduce
Steps to reproduce the behavior:
{"jsonrpc":"2.0","result":{"context":{"apiVersion":"1.17.6","slot":264513092},"value":{"data":["BpuIV/6rgYT7aH9jRhjANdrEOdwa6ztVmKDwAAAAAAGx7kglPvsN1CPoW5+frlezWwWJ3gBP3Kra2qQ67QcWMJIobn8qAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEAAADwHR8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","base64"],"executable":false,"lamports":182528591490,"owner":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","rentEpoch":18446744073709552000,"space":165}},"id":1}
Expected behavior
{"jsonrpc":"2.0","result":{"context":{"apiVersion":"1.17.6","slot":264513053},"value":{"data":["BpuIV/6rgYT7aH9jRhjANdrEOdwa6ztVmKDwAAAAAAGx7kglPvsN1CPoW5+frlezWwWJ3gBP3Kra2qQ67QcWMDpXan8qAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEAAADwHR8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","base64"],"executable":false,"lamports":182528341290,"owner":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA","rentEpoch":18446744073709551615,"space":165}},"id":1}
A clear and concise description of what you expected to happen.
rentEpoch has been rounded and exceeded max uint64
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: