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

Optimize constructor of ERC777 #2551

Merged
merged 2 commits into from
Mar 2, 2021

Conversation

frangio
Copy link
Contributor

@frangio frangio commented Mar 2, 2021

The constructor was reading from an array in storage while the same array is available in memory.

PR Checklist

  • Tests (N/A)
  • Documentation (N/A)
  • Changelog entry

@frangio frangio requested a review from Amxx March 2, 2021 19:20
@frangio frangio enabled auto-merge (squash) March 2, 2021 19:22
@frangio frangio merged commit 62af16b into OpenZeppelin:master Mar 2, 2021
@frangio frangio deleted the optimize-777-constructor branch March 2, 2021 20:29
Amxx pushed a commit that referenced this pull request Mar 2, 2021
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