-
Notifications
You must be signed in to change notification settings - Fork 10
sammy - EDITION_MINTER_ROLE
is not configurable as grantRoles()
cannot be called in Edition.sol
#213
Comments
This is expected, the |
Note that this is incorrectly tagged as a duplicate of #266, which is unrelated |
Thanks for your input invalidating this one |
EDITION_MINTER_ROLE
is not configurable as grantRoles()
cannot be called in Edition.sol
EDITION_MINTER_ROLE
is not configurable as grantRoles()
cannot be called in Edition.sol
Escalate Contest readme states the following two points :
The information about the code being "upgraded" in the future to support the functionality of the role was not available during the contest. According to the README, the role should be able to call the promoMint function. However, this is not possible as the role itself isn't configurable. This breaks a key invariant/disagrees with the intended protocol functionality(acc to the README). Therefore, I see this issue as valid with medium severity. |
You've created a valid escalation! To remove the escalation from consideration: Delete your comment. You may delete or edit your escalation comment anytime before the 48-hour escalation window closes. After that, the escalation becomes final. |
I believe this is a valid issue, documented it myself in #166 |
I also believe this is valid, reported in #240 |
I agree with the escalation. This issue is a duplicate of #166. The outcome there will decide whether it is valid. |
This is a dup of #400 |
Result: |
Escalations have been resolved successfully! Escalation status:
|
sammy
medium
EDITION_MINTER_ROLE
is not configurable asgrantRoles()
cannot be called inEdition.sol
Summary
Quoting the QnA :
However, this role cannot be assigned to any address.
Vulnerability Detail
The
grantRoles()
function inEdition.sol
can only be called by theEDITION_MANAGER_ROLE
role :This role is assigned to the
TitlesCore.sol
contract when anEdition.sol
contract is initialized. However, there is no function inTitlesCore.sol
that calls thegrantRoles()
function ofEdition.sol
, making it impossible to invoke it to configureEDITION_MINTER_ROLE
.Impact
Only the
owner
of theEdition.sol
contract can mint promo tokens.Code Snippet
Tool used
Manual Review
Recommendation
Make the following change to
grantRoles()
:Duplicate of #148
The text was updated successfully, but these errors were encountered: