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

fix regression in HashMap.get() #381

Merged
merged 2 commits into from
Feb 18, 2025

Conversation

charles-cooper
Copy link
Member

.get() was broken for HashMaps. there were two regressions, one is the type of the storage variable model address needed to be updated to the newer Address type. the other was that the order of preimage to image mapping was reversed in 59a78dd during a larger refactor.

additionally, unit tests have been added to prevent future regressions

What I did

How I did it

How to verify it

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

.get() was broken for HashMaps. there were two regressions, one is the
type of the storage variable model address needed to be updated to the
newer `Address` type. the other was that the order of preimage to image
mapping was reversed in 59a78dd during a larger refactor.

additionally, unit tests have been added to prevent future regressions
@charles-cooper charles-cooper merged commit 5decf2f into vyperlang:master Feb 18, 2025
8 of 9 checks passed
@charles-cooper charles-cooper deleted the fix/hashmap-get branch February 18, 2025 14:52
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