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

Use calldata for queryable extension #361

Merged
merged 2 commits into from
Jul 9, 2022
Merged

Use calldata for queryable extension #361

merged 2 commits into from
Jul 9, 2022

Conversation

cygaar
Copy link
Collaborator

@cygaar cygaar commented Jul 8, 2022

Since this function is marked as external we can use calldata instead of memory to save a bit on gas (if explicitOwnershipsOf is called from another contract).

@cygaar cygaar requested a review from Vectorized July 8, 2022 23:33
@Vectorized Vectorized merged commit 9565acb into main Jul 9, 2022
@Vectorized Vectorized deleted the queryable_calldata branch July 31, 2022 21:24
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.

2 participants