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

Allow accessing attributes with shared name but differing position #223

Merged
merged 7 commits into from
Jul 10, 2023

Conversation

nielstron
Copy link
Contributor

So far, attributes with same name and same position in the PlutusData definition could be accessed among elements in a Union type. With this update, the same name is sufficient by deciding the correct position of the attribute at runtime. It contains an optimization where this decision is not needed if all elements store the attribute at the same position.

@nielstron nielstron merged commit a7554cb into dev Jul 10, 2023
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.

1 participant