Closed CruzMolina closed 1 year ago
All default values in a mapping default to 0. To protect against this in the PerpetualMint storage Layout for the collectionType mapping, we should insert a NONE member at the top of the AssetType enum and update the code where applicable.
PerpetualMint
Layout
collectionType
NONE
AssetType
enum
After taking a second look at this, I don't think this is something we should be worried about.
All default values in a mapping default to 0. To protect against this in the
PerpetualMint
storageLayout
for thecollectionType
mapping, we should insert aNONE
member at the top of theAssetType
enum
and update the code where applicable.