-
Notifications
You must be signed in to change notification settings - Fork 17
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
TypeError: XDR Read Error: invalid XDR contract typecast - source buffer not entirely consumed #162
Labels
bug
Something isn't working
Comments
Here's another one resulting in the same error {
"jsonrpc": "2.0",
"id": 1,
"result": {
"status": "SUCCESS",
"latestLedger": "2366",
"latestLedgerCloseTime": "1697056786",
"oldestLedger": "927",
"oldestLedgerCloseTime": "1697055339",
"applicationOrder": 1,
"envelopeXdr": "AAAAAgAAAABM/sh/7MYdZX9I0kK+VhhJCI08/3+br7+bnQTJloun1AATv9UAAACKAAAAMAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAGAAAAAAAAAABSmgtC9yp8u8OFpLCO1387pjYQMSE4QqM0zkuGahOgDoAAAAKb2ZmZXJfcG9zdAAAAAAAAgAAABAAAAABAAAAAgAAAA8AAAAFR2x5cGgAAAAAAAANAAAAIGg7H2quNd06hpmO/Aye0srpgOZwO40hm+x8+gD0W1B1AAAAEAAAAAEAAAADAAAADwAAAAVBc3NldAAAAAAAABIAAAAB2LKxTGD+y2X7KqgcvqedCDXK/A4NhR+GESV8HltB4cIAAAAKAAAAAAAAAAAAAAAAAAAAZAAAAAEAAAAAAAAAAAAAAAFKaC0L3Kny7w4WksI7XfzumNhAxIThCozTOS4ZqE6AOgAAAApvZmZlcl9wb3N0AAAAAAACAAAAEAAAAAEAAAACAAAADwAAAAVHbHlwaAAAAAAAAA0AAAAgaDsfaq413TqGmY78DJ7SyumA5nA7jSGb7Hz6APRbUHUAAAAQAAAAAQAAAAMAAAAPAAAABUFzc2V0AAAAAAAAEgAAAAHYsrFMYP7LZfsqqBy+p50INcr8Dg2FH4YRJXweW0HhwgAAAAoAAAAAAAAAAAAAAAAAAABkAAAAAAAAAAEAAAAAAAAABAAAAAYAAAAB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AOgAAAAEAAAAAAAAAAwAAAA8AAAAKb2ZmZXJfcG9zdAAAAAAADQAAACBoOx9qrjXdOoaZjvwMntLK6YDmcDuNIZvsfPoA9FtQdQAAABIAAAAAAAAAAEz+yH/sxh1lf0jSQr5WGEkIjTz/f5uvv5udBMmWi6fUAAAAEAAAAAEAAAABAAAAEAAAAAEAAAADAAAADwAAAAVBc3NldAAAAAAAABIAAAAB2LKxTGD+y2X7KqgcvqedCDXK/A4NhR+GESV8HltB4cIAAAAKAAAAAAAAAAAAAAAAAAAAZAAAAAEAAAAA",
"ledger": "2366",
"createdAt": "1697056786"
}
} |
Soroban CLI version % soroban --version
soroban 20.0.0-rc4 (bce5e56ba16ba977200b022c91f3eaf6282f47eb)
soroban-env 20.0.0-rc2 (8c63bff68a15d79aca3a705ee6916a68db57b7e6)
soroban-env interface version 85899345977
stellar-xdr 20.0.0-rc1 (d5ce0c9e7aa83461773a6e81662067f35d39e4c1)
xdr curr (9ac02641139e6717924fdad716f6e958d0168491) |
Confirmed fixed in stellar/stellar-cli#973 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given this RPC Success response
I'm getting this error when using the built-in TS bindings for the contract trying to unwrap the response
Happy to provide additional code as/if needed. Just not sure what else may be helpful
The text was updated successfully, but these errors were encountered: