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
Oh. Looking at the above code again, you are using Interface, which expects a function of sent signature, not a type.
In the first example it works in the first case because you are constructing a function namedtuple, which takes in an address and a bytes4. It has nothing to do with an actual tuple.
I have confirmed the issue you are experiencing is the newlines. For now, if you use ENCODING.replace(/\n/g, '') it will work fine. I will look into treating those as normal whitespace for the aBI coder.
You should be able to safely use newline (or any other whitespace) now in the human-readable ABI, in version4.0.16. Let me know if there are still problems, and feel free to re-open this issue.
If I have
Then the following will work:
However the following will error:
Like so:
I think it is because different parsing logic is used? @ricmoo
The text was updated successfully, but these errors were encountered: