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
When updating the metadata of a cNFT if none of the creators are verified you can pass an empty Vec and the transaction can go thru. Unless I’m missing something.
There is no check for empty creators Vec when updating the metadata.
I think you saw the responses in the dev TG, but just for reference wanted to post it here that it was intentional to allow creatorless cNFTs. I believe it was considered to broaden the use cases of bubblegum to things like gaming where creators/royalties might not be applicable. As such it is checked in assert_metadata_is_mpl_compatible() and if there are creators, the number of creators must be enforced, no duplicates, and total percentage is 100%. Empty creator array for Bubblegum is handled in DAS, and it is inconsistent with TM.
I also added some explicit tests for the empty creator array as that is important logic you highlighted: #100
When updating the metadata of a cNFT if none of the creators are verified you can pass an empty Vec and the transaction can go thru. Unless I’m missing something.
There is no check for empty creators Vec when updating the metadata.
mpl-bubblegum/programs/bubblegum/program/src/processor/update_metadata.rs
Line 143 in ec267f6
The text was updated successfully, but these errors were encountered: