-
Notifications
You must be signed in to change notification settings - Fork 10
Modify GhoReserve and Facilitator AccessControl #19
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
Modify GhoReserve and Facilitator AccessControl #19
Conversation
src/contracts/facilitators/gsm/interfaces/IGhoDirectFacilitator.sol
Outdated
Show resolved
Hide resolved
src/contracts/facilitators/gsm/interfaces/IGhoDirectFacilitator.sol
Outdated
Show resolved
Hide resolved
src/contracts/facilitators/gsm/interfaces/IGhoDirectFacilitator.sol
Outdated
Show resolved
Hide resolved
| _grantRole(DEFAULT_ADMIN_ROLE, admin); | ||
| _grantRole(MANAGE_ENTITY_ROLE, admin); | ||
| _grantRole(SET_LIMIT_ROLE, admin); | ||
| _grantRole(TRANSFER_ROLE, admin); |
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.
we could only give default admin role, but i'm fine with this given that most likely it d be assigned to the Executor.
(sme in GhoDirectFacilitator)
|
@miguelmtzinf updated, thank you |
miguelmtzinf
left a comment
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.
Looks good to me, thanks for addressing comments!
888e965
into
aave-dao:tokenlogic/gho-reserve-steward
Changelog
Modify access control from Ownable to AccessControl.
Update tests and specs accordingly.