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

perf: Use named returns in supportsProxyFunction #101

Merged
merged 1 commit into from
Nov 25, 2022
Merged

perf: Use named returns in supportsProxyFunction #101

merged 1 commit into from
Nov 25, 2022

Conversation

0xhiroshi
Copy link
Collaborator

Overall gas change: -32414 (-5.470%)

@@ -183,10 +183,10 @@ contract LooksRareAggregator is
/**
* @param proxy The marketplace proxy's address
* @param selector The marketplace proxy's function selector
* @return Whether the marketplace proxy's function can be called from the aggregator
* @return supported Whether the marketplace proxy's function can be called from the aggregator
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isSupported?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok will fix

@0xJurassicPunk
Copy link
Contributor

I have no idea how the gas estimate changes are computed but I think -5.470% is quite misleading

@0xhiroshi 0xhiroshi merged commit 6198541 into LooksRare:master Nov 25, 2022
@0xhiroshi 0xhiroshi deleted the perf/use-named-returns branch November 25, 2022 08:50
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