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

Merged
merged 2 commits into from
Oct 8, 2024

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.

Copy link
Contributor

@EnriqueL8 EnriqueL8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have merged #82 so all good now

@EnriqueL8 EnriqueL8 merged commit 41530b2 into main Oct 8, 2024
3 checks passed
@EnriqueL8 EnriqueL8 deleted the unamed-obj-input branch October 8, 2024 09:57
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.

3 participants