forked from tact-lang/tact
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: large contracts compilation (tact-lang#297)
I have used ton-blockchain/ton@4cfe1d1 to patch and compile the new WASM version of FunC. In the patched version, the first argument to `PSTRING()` [here](https://github.com/ton-blockchain/ton/blob/4cfe1d1a96acf956e28e2bbc696a143489e23631/crypto/fift/utils.cpp#L215-L216) is built as an `std::string` first. Otherwise the wrapped `asm_code` gets truncated in WASM version. * remove auto-generated file from git * update src/imports/stdlib.ts -- looks like it wasn't updated in one the previous PRs * current version fo FunC is 0.4.4, update generated pragmas * fix a test: the new version of FunC has different gas consumption occasionally
- Loading branch information
1 parent
8e61206
commit f777da3
Showing
10 changed files
with
849 additions
and
380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ dist | |
output/ | ||
src/grammar/grammar.ohm-bundle.js | ||
src/grammar/grammar.ohm-bundle.d.ts | ||
src/func/funcfiftlib.wasm.js | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import "./issue42.tact"; | ||
import "./issue43.tact"; | ||
import "./issue53.tact"; | ||
import "./issue117.tact"; | ||
import "./issue117.tact"; | ||
import "./large-contract.tact"; |
Oops, something went wrong.