@ton/sandbox
Advanced tools
Changelog
[0.15.0] - 2023-12-24
Changelog
[0.13.1] - 2023-10-10
Blockchain
that led to storage fetch errors (for example, network errors in RemoteBlockchainStorage
) being cached and breaking that contract address foreverChangelog
[0.13.0] - 2023-10-05
EmulationError
is now thrown that has an error
string, vmLogs
, and exitCode
(the latter two being optional). The error is no longer being dumped into consoleChangelog
[0.12.0] - 2023-10-03
blockchain.sendMessageIter
)now
from Blockchain
is now honored in SmartContract.receiveMessage
Changelog
[0.11.1] - 2023-07-26
Changelog
[0.11.0] - 2023-05-11
blockchain.runTickTock(Address | Address[], TickOrTock, MessageParams?)
, smartContract.runTickTock(TickOrTock, MessageParams?)
, or you can change ContractProvider
in your wrapper classes to be SandboxContractProvider
and invoke tickTock(TickOrTock)
on it. TickOrTock
is a union type 'tick' | 'tock'
'vm_logs_location'
(same as 'vm_logs'
but also display code cell hash and offset), 'vm_logs_gas'
(same as 'vm_logs_location'
but also display gas remaining), 'vm_logs_verbose'
(same as 'vm_logs_full'
but display stack values in a more verbose way)