Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration of the new ton-compiler #9

Closed
wants to merge 3 commits into from

Conversation

AminRezaei0x443
Copy link

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.

@krigga
Copy link
Contributor

krigga commented Nov 15, 2022

fromFuncSource has been deprecated, and users are advised to use @ton-community/func-js or ton-compiler as standalone packages.

@krigga krigga closed this Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants