Skip to content

Conversation

@ngundotra
Copy link
Collaborator

@ngundotra ngundotra commented Feb 24, 2023

This refactor is meant to deduplicate code by using the validation methods in Metadata.

Roughly accomplished as follows:

  • MetadataArgs + token ownership info ==> MetaplexMetadata
  • MetaplexMetadata performs validation checks for collection information, etc
  • MetaplexMetadata performs LeafSchema V0 validation checks on to_leaf_schema_v0

@ngundotra ngundotra changed the title Rework the metadata args into a wrapper around actual Metadata Bubblegum: Refactor MetadataArgs to be wrapper around Metadata Feb 24, 2023
@github-actions
Copy link
Contributor

Workflow Verify package library found differences when running yarn api:gen in the JS lib for bubblegum. Please see the job for more details: https://github.com/metaplex-foundation/metaplex-program-library/actions/runs/4266168783.

@ngundotra
Copy link
Collaborator Author

If this looks good, I'll refactor the process_collection_verification_mpl_only and process_creator_verification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants