You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start with improving textual expressions' size checks.
Both on front-end and backend, add an input control mechanism, where received _expression input can not exceed a string field's size on solidity. (so should reflect front-end, UTF-8 or ASCII encoded).
The text was updated successfully, but these errors were encountered:
streamerd
changed the title
Validate input lenfth of text input for storage considerations.
Validate lenfth of text input for storage considerations.
Jul 31, 2022
streamerd
changed the title
Validate lenfth of text input for storage considerations.
Validate length of text input for storage considerations.
Jul 31, 2022
Start with improving textual expressions' size checks.
Both on front-end and backend, add an input control mechanism, where received _expression input can not exceed a string field's size on solidity. (so should reflect front-end, UTF-8 or ASCII encoded).
Some guides:
Solidity
https://docs.soliditylang.org/en/v0.8.14/internals/layout_in_storage.html#bytes-and-string
https://medium.com/hackernoon/working-with-strings-in-solidity-c4ff6d5f8008
React:
https://bobbyhadz.com/blog/react-input-character-limit
The text was updated successfully, but these errors were encountered: