-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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 mapping storage parameters for library functions #4635
Comments
I think this a good idea, extends the usability of libraries. |
Should this only be the case for internal library functions? Currently the following does not work either, and I don't see a good reason, why not:
This yields Is there any good reason to require a type |
Somewhat related: #4670 |
This requires defining a type string for mappings for the function selector (as we did with strings). |
(extended scope to public library functions) |
Moved to 0.5.1 |
Since library functions allow storage struct parameters, storage mapping parameters should also be allowed. This would enable us to modularize some things:
The text was updated successfully, but these errors were encountered: