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

Create a separate page in the documentation describing all the limits in Tact #1364

Open
i582 opened this issue Jan 17, 2025 · 2 comments
Open
Assignees
Labels
docs: Book /book section of the docs: Guides, Cheatsheets, and a streamlined sequence of educational materials kind: docs Documentation for docs.tact-lang.org kept in docs folder
Milestone

Comments

@i582
Copy link
Contributor

i582 commented Jan 17, 2025

Right now, different limits are described on different pages:

We want to have one single page that can be easily sent to the user if they have any questions.

This page may also contain links to examples that demonstrate these limitations (#586)

@i582 i582 added the kind: docs Documentation for docs.tact-lang.org kept in docs folder label Jan 17, 2025
@novusnota
Copy link
Member

novusnota commented Jan 17, 2025

Related to #1097

@novusnota novusnota added this to the Doc: 2025-02 milestone Feb 13, 2025
@novusnota novusnota added the docs: Book /book section of the docs: Guides, Cheatsheets, and a streamlined sequence of educational materials label Feb 13, 2025
@novusnota
Copy link
Member

novusnota commented Feb 13, 2025

Configuration params of TON impose all of the limits. From there: exit code 50, gas-related functions (including accept()) and other things get their limits.

From there, maps get their limits too, although indirectly — we need to calculate them as per #586.

Plus things like limits for global variables (ton-community/ton-docs#757), although we don't support those directly. Also, c7 is a tuple, and technically there could be a lot more than just 31 global variables stored there — that's why there's a SETGLOBVAR instruction that can store using indexes from 0 up to 254 inclusive.

@novusnota novusnota modified the milestones: Doc: 2025-02, Doc: 2025-03 Feb 24, 2025
@anton-trunov anton-trunov assigned i582 and unassigned novusnota Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs: Book /book section of the docs: Guides, Cheatsheets, and a streamlined sequence of educational materials kind: docs Documentation for docs.tact-lang.org kept in docs folder
Projects
None yet
Development

No branches or pull requests

2 participants