-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Make upgradeTo and upgradeToAndCall public #3959
Make upgradeTo and upgradeToAndCall public #3959
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the other contracts using the UUPSUpgradeable
contract. All the check must pass, and right now the library its not compiling.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
Congrats, your important contribution to this open-source project has earned you a GitPOAP! GitPOAP: 2023 OpenZeppelin Contracts Contributor: Head to gitpoap.io & connect your GitHub account to mint! Learn more about GitPOAPs here. |
Fixes #3923
Two functions upgradeTo and upgradeToAndCall were having visibility specifiers as
external
andvirtual
, due to this reason derived contract was not able to invoke the function usingsuper
keyword. I just replacedexternal
withpublic
so that it can be invoked as well as overridden as expected.PR Checklist