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

Solidity validator - BYTES #7

Open
1 of 2 tasks
Tracked by #3
serapath opened this issue Aug 16, 2019 · 0 comments
Open
1 of 2 tasks
Tracked by #3

Solidity validator - BYTES #7

serapath opened this issue Aug 16, 2019 · 0 comments

Comments

@serapath
Copy link
Member

@todo


So far we were validating it as a string, but when we send the EVM doesn't accept it as a string, but we need to convert it into a byte, so it makes sense to also validate it as a byte.

So, we should validate both:

  • if a user inserts a string
  • or if a user inserts bytes

There are many types of bytes, so we also need to check if it's bytes, byte32 etc.

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

No branches or pull requests

1 participant