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

test: size limits of a single contract #817

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

test: size limits of a single contract #817

wants to merge 1 commit into from

Conversation

novusnota
Copy link
Member

WIP:

  • (more or less done) map size limits
  • max number of cells — there's an issue with Fift decompiler, blocking progress. Besides, the total limit from TON side is known: $2^{16}$ cells per account state, according to config param 43
  • max number of struct fields

Issue

Closes #586.

Checklist

  • I have updated CHANGELOG.md
  • I have run all the tests locally and no test failure was reported
  • I have run the linter, formatter and spellchecker
  • I did not do unrelated and/or undiscussed refactorings

@novusnota novusnota requested a review from a team as a code owner September 13, 2024 01:26
WIP:
- [x] (more or less done) map size limits
- [ ] max number of cells — there's an issue with Fift decompiler,
blocking progress. Besides, the total limit from TON side is known:
$2^{16}$ cells per account state, according to [config param
43](https://docs.ton.org/develop/howto/blockchain-configs#param-43)
- [ ] max number of struct fields
@anton-trunov
Copy link
Member

Besides, the total limit from TON side is known

The point of the tests is to see

  • if there a failure when we go beyond the limits and
  • if we can go very close to the limits without a failure

@anton-trunov anton-trunov marked this pull request as draft September 15, 2024 04:42
@anton-trunov anton-trunov modified the milestones: v1.5.0, v1.6.0 Sep 15, 2024
@anton-trunov anton-trunov self-assigned this Sep 15, 2024
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.

Add tests for various size limits for data types
2 participants