You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
627 | super(`XDR Write Error: ${message}`);
628 | }
629 | }
630 | class XdrReaderError extends TypeError {
631 | constructor(message) {
632 | super(`XDR Read Error: ${message}`);
^
error: XDR Read Error: attempt to read outside the boundary of the buffer
at new XdrReaderError (/Users/tylervanderhoeven/Desktop/Web/Stellar/js-stellar-sdk/node_modules/@stellar/js-xdr/lib/xdr.js:632:5)
at advance (/Users/tylervanderhoeven/Desktop/Web/Stellar/js-stellar-sdk/node_modules/@stellar/js-xdr/lib/xdr.js:1194:43)
at readInt32BE (/Users/tylervanderhoeven/Desktop/Web/Stellar/js-stellar-sdk/node_modules/@stellar/js-xdr/lib/xdr.js:1229:37)
at read (/Users/tylervanderhoeven/Desktop/Web/Stellar/js-stellar-sdk/node_modules/@stellar/js-xdr/lib/xdr.js:557:20)
at read (/Users/tylervanderhoeven/Desktop/Web/Stellar/js-stellar-sdk/node_modules/@stellar/js-xdr/lib/xdr.js:1762:21)
at fromXDR (/Users/tylervanderhoeven/Desktop/Web/Stellar/js-stellar-sdk/node_modules/@stellar/js-xdr/lib/xdr.js:2172:20)
at /Users/tylervanderhoeven/Desktop/Web/Stellar/js-stellar-sdk/lib/rpc/parsers.js:91:14
at map (:1:21)
at parseSuccessful (/Users/tylervanderhoeven/Desktop/Web/Stellar/js-stellar-sdk/lib/rpc/parsers.js:88:112)
at parseRawSimulation (/Users/tylervanderhoeven/Desktop/Web/Stellar/js-stellar-sdk/lib/rpc/parsers.js:128:10)
Bun v1.1.8 (macOS arm64)
What version are you on? "@stellar/stellar-sdk": "12.1.0",
Describe the bug
What version are you on?
"@stellar/stellar-sdk": "12.1.0",
To Reproduce
https://gist.github.com/kalepail/191923ce760a1bbbdc1cd4b6cdbbee46
Expected behavior
There should be no bug and the simulation response should be parsed successfully.
Additional context
See the note here https://gist.github.com/kalepail/191923ce760a1bbbdc1cd4b6cdbbee46?permalink_comment_id=5114024#gistcomment-5114024 but essentially the
js-sdk
is bugging on anull
or""
state change. I'm not sure if this is an sdk or an rpc bug then as that seems like a pretty weird state change to report. Here's the full simulation response though the above gist will also get you this.The text was updated successfully, but these errors were encountered: