You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A potential fix could be adding "Might emit a {RoleGranted} event" to the doc of AccessControl._grantRole, and adding a "Might emit {RoleRevoked} event" to the doc of AccessControl._revokeRole, respectively.
Could you please check it?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
The
AccessControl._grantRole
function might emit aRoleGranted
event, which is not documented in its doc.openzeppelin-contracts/contracts/access/AccessControl.sol
Line 220 in fcf35e5
Similarly, the
AccessControl._revokeRole
function might emit aRoleRevoked
event, which is not documented in its doc either.openzeppelin-contracts/contracts/access/AccessControl.sol
Line 232 in fcf35e5
A potential fix could be adding "Might emit a {RoleGranted} event" to the doc of
AccessControl._grantRole
, and adding a "Might emit {RoleRevoked} event" to the doc ofAccessControl._revokeRole
, respectively.Could you please check it?
Thanks.
The text was updated successfully, but these errors were encountered: