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
TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received an instance of Object
at Function.from (node:buffer:324:9)
at Function.fromBase64 (/node_modules/@ton/core/dist/boc/Cell.js:41:42)
at parseStackEntry (/node_modules/@ton/ton/dist/client/TonClient.js:277:54)
at Array.map (<anonymous>)
at parseStackItem (/node_modules/@ton/ton/dist/client/TonClient.js:313:34)
at parseStack (/node_modules/@ton/ton/dist/client/TonClient.js:323:20)
at TonClient.runMethod (/node_modules/@ton/ton/dist/client/TonClient.js:44:49)
The text was updated successfully, but these errors were encountered:
Line with bug:
https://github.com/ton-org/ton/blob/master/src/client/TonClient.ts#L346
Fix: add
.bytes
to beCell.fromBase64(s.cell.bytes)
.I have a getter which looks like this:
And it always fails with error stack:
The text was updated successfully, but these errors were encountered: