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
Hierarchy.sol is implemented using the 3.0.0-rc.0 version of AccessControl.sol, in which _grantRole() was still internal. We have PR #295 to migrate to 3.0.0-rc.1, in which we have this issue. I'll replace every call to _grantRole in a constructor by a call to _setupRole.
I think all the other calls to _grantRole can be replaced by calls to the public one, grantRole.
contracts/contracts/access/Hierarchy.sol
Line 15 in 4c4acb1
_grantRole() in AccessControl.sol is current private, so cannot be called by child contracts.
See here
The text was updated successfully, but these errors were encountered: