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

Add view modifier to proxyAdmin in TransparentUpgradeableProxy #4688

Merged

Conversation

ernestognw
Copy link
Member

After implementing an audit recommendation to allow anyone to select their proxy admin if they decide to override it, the _proxyAdmin() getter remained non view.

This is technically breaking but I don't see anyone complaining about that. The breaking change is that state updates are no longer allowed within an overriden_proxyAdmin().

PR Checklist

  • Tests
  • Documentation
  • Changeset entry (run npx changeset add)

@changeset-bot
Copy link

changeset-bot bot commented Oct 16, 2023

🦋 Changeset detected

Latest commit: 45fa1a5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
openzeppelin-solidity Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ernestognw ernestognw requested review from Amxx and ericglau October 16, 2023 20:38
ericglau
ericglau previously approved these changes Oct 16, 2023
ericglau
ericglau previously approved these changes Oct 16, 2023
.changeset/eleven-planets-relax.md Outdated Show resolved Hide resolved
Co-authored-by: Eric Lau <ericglau@outlook.com>
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.

3 participants