Beta dev tools for the upcoming TVM update
The testnet branch of the official TON repo contains a lot of new
opcodes, and we have released new tools to help you test them out before they reach mainnet. The new versions are as follows:
@ton-community/sandbox@0.12.0-tvmbeta.1 @ton-community/func-js@0.6.3-tvmbeta.1 @ton-community/func-js-bin@0.4.5-tvmbeta.1
Please note that the actual func version in the func-js-bin package is still 0.4.4
Also, the updated sandbox only includes the updated emulator binary, but lacks some interface updates - for example, there is currently no way to set the information required for the new opcodes
PREVBLOCKSINFOTUPLE,
PREVMCBLOCKS,
PREVKEYBLOCK
The interface will likely be updated when the update reaches mainnet, or sooner if there is demand for that.
Also note that the default and slim configs packaged with sandbox are deliberately changed to enable the new TVM opcodes and will not match the ones that are actually contained in the blocks indicated by the seqno consts.
If you want to use the new opcodes in blueprint, you also need to override func-js versions. To do so, add the following to your package.json:
"overrides": {
"@ton-community/func-js-bin": "0.4.5-tvmbeta.1",
"@ton-community/func-js": "0.6.3-tvmbeta.1"
}
(change
overrides to
resolutions if you're using yarn)
Note that sandbox can be updated in the usual way by replacing the version in the
devDependencies section directly.
Обсуждение 0
Обсуждение не доступно в веб-версии. Чтобы написать комментарий, перейдите в приложение Telegram.
Обсудить в Telegram