Hi! ton-contract-executor is great for testing contracts
There is a small problem that it uses old version of ton-compiler, which is not WASM-based. It doesn't work on windows for instance. It would be great to upgrade to ton-compiler v2.0.0.
Actually I created a PR about a week ago and upgraded to the ton-compiler v2.0.0 with the needed changes.

Oct 31, 2022, 1:09 PM
Yeah, i think we will remove fromFuncSource, so you can use ton-compiler or func-js (which runs on web too) for compiling
I think we should keep executor as simple abstraction over TVM
Oct 31, 2022, 1:10 PM
fromFuncSource can remain too with just temporary file workaround.
I don't know about the web environment, that's why you think removing it is better?
Oct 31, 2022, 1:17 PM
I think we should remove that to keep executor simple layer above TVM, compilers should be used from other packages (like func-js or ton-compiler)
Aslo fromFuncSource accepts only single source file and does not support imports and stuff like that
Oct 31, 2022, 1:19 PM
Hmm, that's a nice idea.
Oct 31, 2022, 1:20 PM

© 2024 Draquery.com All rights reserved.