@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.
@todoSo 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:
There are many types of bytes, so we also need to check if it's bytes, byte32 etc.