Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Notes
set_and_verify_collection
fixesset_and_verify_collection
to overwrite an existing verified collection. After this change, the existing verified collection will have to be unverified first by the appropriate authority. To accomplish this, switched the order of the check and the field update, so that the existing collection check happens before the new collection is put into the metadata.process_collection_verification_mpl_only
, because 1) its not really a MPL collection-related check, and 2) then it can fix an existing behavior that has confused some people before. The behavior is that today, when you callmint_to_collection_v1
, you must pass in metadata with collectionverified
set tofalse
, and it is changed totrue
during the instruction before it is hashed and the leaf is minted. After this change, you can send it in as eitherfalse
ortrue
and it will be set to true duringmint_to_collection_v1
.SetDecompressableState
.