-
Notifications
You must be signed in to change notification settings - Fork 524
API: bump max size of teal source and dryrun #4633
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4633 +/- ##
==========================================
+ Coverage 54.32% 54.37% +0.05%
==========================================
Files 402 402
Lines 51793 51793
==========================================
+ Hits 28134 28160 +26
+ Misses 21289 21271 -18
+ Partials 2370 2362 -8
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
jannotti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems totally reasonable, and this has been requested from external contributors..
| // max compiled teal program is currently 8k | ||
| // but we allow for comments, spacing, and repeated consts | ||
| // in the source teal, allow up to 200kb | ||
| const maxTealSourceBytes = 2e5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that know _ is allowed in int constants in Go, I would prefer 200_000 here
addresses #4632