Zod abi parser fails when the name of input or output is an empty string. #184
Replies: 2 comments
-
Empty string on unnamed parameters are the default when Solidity compiles a contract so this should be supported. Feel free to make a PR to fix it |
Beta Was this translation helpful? Give feedback.
0 replies
-
Submitted a PR in #185. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Given this example abi fetched from etherscan, zod parser produces error saying the
name
field in the ouput is invalid when it's an empty string.Error:
I don't see empty sring is not allowed in the abi spec, so perhaps we should allow empty string as valid name of function parameter?
I could send a PR to fix this if devs agree.
Beta Was this translation helpful? Give feedback.
All reactions