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, and fromFuncFiles 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.
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:ton-compiler
to 2.0.0 without any higher-level changesfromFuncSources
, andfromFuncFiles
with the capability of compiling multiple files and sources + Testsjest
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.