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

do not allow non-contract address as new implementations #120

Merged
merged 3 commits into from
Dec 11, 2023

Conversation

josojo
Copy link
Collaborator

@josojo josojo commented Dec 11, 2023

the _setImplementation of the proxy would revert, if the address are not contracts. we need to avoid that

Covers parts of #103

See here: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.9.5/contracts/proxy/ERC1967/ERC1967Upgrade.sol#L40

@josojo josojo merged commit 509f899 into main Dec 11, 2023
2 checks passed
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