-
Notifications
You must be signed in to change notification settings - Fork 78
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
Feature request: Trailing arguments for forall procedure #1038
Labels
enhancement
New feature or request
Comments
Following up a Telegram conversation, another variant that can be useful is to have an accumulator procedure. For example: given a list of keys, its values must be fetched from a map field and added up. Right now this can be done using a temporary accumulator field in the procedure used with |
Related issue #577, if we refactor the signature to
|
Closing, since this duplicates #577 . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I propose to add the ability to pass additional arguments to the procedure, which is called in the loop forall, this can save gas on reading repeated data in the procedure.
Example:
The text was updated successfully, but these errors were encountered: