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

Handle unnamed tuple entries consistently on input and output #83

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

peterbroadhurst
Copy link
Contributor

In PR chain with #82

We were throwing an error in the case that you supplied an input like {"0":12345} to an ABI with an unnamed parameter, but on output we were perfectly accepting that values could have unnamed parameters and we did translation to 0 in the object syntax.

This PR makes us consistent in both directions.

It's a change in behavior, but only from returning an error, to having a defined behavior.

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

Successfully merging this pull request may close these issues.

2 participants