ton-contract-executor
ton-contract-executor copied to clipboard
Integration of the new ton-compiler
The new ton-compiler
(v2.0.0) module is based on wasm and can work on windows, Linux, and macOS easily. ton-contract-executor was using the 0.9.0 which couldn't run on windows. This PR implements the following:
- Upgrades the used
ton-compiler
to 2.0.0 without any higher-level changes - Add
fromFuncSources
, andfromFuncFiles
with the capability of compiling multiple files and sources + Tests - Increase
jest
timeout (It takes time to run some workers and it exceeds the default timeout)
Note: As the new ton-compiler
uses direct file paths, so the workaround was using temporary files and doing cleanup afterward.