Skip to content

Commit 3e8ef7d

Browse files
set the owner as admin role for the two existing roles
1 parent 8c842c1 commit 3e8ef7d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

contracts/src/core/AggregationModePaymentService.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ contract AggregationModePaymentService is Initializable, UUPSUpgradeable, Access
111111
__UUPSUpgradeable_init();
112112
__AccessControlEnumerable_init();
113113

114+
_setRoleAdmin(OWNER_ROLE, OWNER_ROLE);
115+
_setRoleAdmin(ADMIN_ROLE, OWNER_ROLE);
116+
114117
_grantRole(OWNER_ROLE, _owner);
115118
_grantRole(ADMIN_ROLE, _admin);
116119

0 commit comments

Comments
 (0)