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

Public getter fixes #2311

Merged

Conversation

iamdefinitelyahuman
Copy link
Contributor

What I did

Fix some issues with public getters:

  • incorrect stateMutability within the ABI
  • compile-time error when declaring a multidimensional array as public

How I did it

See diff. Both fixes are fairly straightforward.

How to verify it

Run the tests. I added some cases to cover the behaviours where the issue existed. This initially made it to master in #2295, I had assumed that public getters were better covered in the test suite than they actually are 😬

Cute Animal Picture

image

@iamdefinitelyahuman iamdefinitelyahuman merged commit 2ea0a0f into vyperlang:master Feb 17, 2021
@iamdefinitelyahuman iamdefinitelyahuman deleted the fix-public-getters branch February 17, 2021 15:44
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.

None yet

2 participants