Update to use Token Metadata (and latest Bubblegum) Rust clients #35
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
serde
feature fortoken-metadata
in but I think it could be removed in a follow-on PR.ReservationListV1
andReservationListV2
as they aren't parsed in DAS.Metadata:safe_deserialize
as it looks like it can handle some edge cases where metadata is the wrong size due to previous changes in Token Metadata.MasterEditionV1
andMasterEditionV2
were switched in the parsing.try_from_slice_unchecked
which doesn't check the whole buffer is used.key
being used in DAS (see below) which will be fixed after this blockbuster is used. Note thatattachment_type
is also set tomaster_edition_v1
, but that is actually a DAS issue that will be fixed as part of Update to use Token Metadata (and latest Bubblegum) Rust clients digital-asset-rpc-infrastructure#168.MasterEditionV2
data indexed by DAS before this change