Upgradeable contracts like AccessControlUpgradeable and ERC1155Upgradeable are not initialized.
__AccessControl_init()
and __ERC1155_init(uri_)
is not called when importing upgradeable contracts
Usually this should be a medium issue but since the initialization is for best practice, setting it as low.
It is also noted that ERC1155Upgradeable initialize function will call setURI()
, which is called directly.
Best practice, low impact
Call __AccessControl_init()
and __ERC1155_init(uri_)
in MembershipERC1155 initialize()
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.