Circumventing the __ERC1155_initexposes every instance of the MembershipERC1155 to state corruption / faulty URI functionality in case of Upgrade.
As we can see below the initializefunction of MembershipERC1155doesn't properly initialize the OZ upgradable contracts inherited.
While [Low-4] Contract doesn't initialize inherited OZ Upgradeable contractsof LightChaser recognizes the problem for AccessControlUpgradeablethe same problem persists in case of ERC1155Upgradeablewhich also has it's own initialization path:
The overall severity is low.
The likelihood of OZ changing ERC1155Upgradeableto include multiple variables in their initialization chain is low.
But if they change their own function to affect more than one variable (currently the uri_) then the upgradability of all MembershipERC1155will be severely impacted, thus I consider the impact medium.
Endless imagination
Perform the following changes:
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.