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
After ton 13.0.0 release, the message structure has been largely refactored. Some basic types: InternalMessage, CommonMessageInfo, and, CellMessage seems to no longer exist.
Even using their internal function for the internal message, it will fail:
should run:
TypeError: message.writeTo is not a function
at SmartContract.sendInternalMessage (node_modules/ton-contract-executor/dist/smartContract/SmartContract.js:119:17)
at /Users/poanlin/Audit/TON/hack-challenge-1/1. mutual fund/test.ts:86:33
at step (1. mutual fund/test.ts:60:23)
at Object.next (1. mutual fund/test.ts:41:53)
at /Users/poanlin/Audit/TON/hack-challenge-1/1. mutual fund/test.ts:35:71
at new Promise (<anonymous>)
at __awaiter (1. mutual fund/test.ts:31:12)
at Context.<anonymous> (1. mutual fund/test.ts:72:20)
It might need some refactor to support the new version of ton, or bring the struct to this library itself to not depend on another package.
The text was updated successfully, but these errors were encountered:
After ton 13.0.0 release, the message structure has been largely refactored. Some basic types:
InternalMessage
,CommonMessageInfo
, and,CellMessage
seems to no longer exist.Even using their
internal
function for the internal message, it will fail:It might need some refactor to support the new version of ton, or bring the struct to this library itself to not depend on another package.
The text was updated successfully, but these errors were encountered: