-
Notifications
You must be signed in to change notification settings - Fork 6
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
(groups): upgradeableRenounceableProxy for group policies #78
(groups): upgradeableRenounceableProxy for group policies #78
Conversation
Looks good to me |
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.
Upgradeable renounceable proxy implementation in general LGTM. I suggest to reduce external functions inside the proxy to avoid selector clashes.
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.
Approved in advance. LGTM.
Co-authored-by: Yevgeniy <35062472+roleengineer@users.noreply.github.com>
Co-authored-by: Yevgeniy <35062472+roleengineer@users.noreply.github.com>
committed suggestions to branch; will continue with unit tests on this branch to test |
Co-authored-by: Yevgeniy <35062472+roleengineer@users.noreply.github.com>
…er complains when importing proxy
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.
In general LGTM, can be merged.
As a next step, I would recommend testing the accessibility of the implementation functions by the admin. A simple mock policy implementation with an admin whitelist function should work.
test/groups/upgradeableProxy/adminOperationsUpgradeableRenounceableProxy.t.sol
Outdated
Show resolved
Hide resolved
…eableProxy.t.sol Co-authored-by: Yevgeniy <35062472+roleengineer@users.noreply.github.com>
upgradeToAndCall(address newImplementation, bytes data)
-- for our use, leave this data empty @vanshika-srivastavaaddress(0x01)
)