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

Array encoding checks #134

Closed
joe-p opened this issue Oct 4, 2023 · 0 comments
Closed

Array encoding checks #134

joe-p opened this issue Oct 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@joe-p
Copy link
Contributor

joe-p commented Oct 4, 2023

TEALScript does not do any encoding checks on arrays. For example, if a function takes in a StaticArray<bytes, 32> it does nothing to ensure the argument is 32 bytes upon calling the app. This check is only done when encoding into another array, setting state, or returning a value.

@joe-p joe-p added enhancement New feature or request blocking-stable labels Oct 4, 2023
joe-p added a commit that referenced this issue Oct 12, 2023
@joe-p joe-p mentioned this issue Oct 13, 2023
@joe-p joe-p closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant