Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing assets from collection #45

Closed
joefitter opened this issue Apr 2, 2024 · 3 comments
Closed

Missing assets from collection #45

joefitter opened this issue Apr 2, 2024 · 3 comments
Assignees

Comments

@joefitter
Copy link
Contributor

joefitter commented Apr 2, 2024

I am building a suite of tools including a conversion app and Core marketplace, and I noticed a recently minted Core collection has 2 minted and 2 current assets, but these cannot be found with any of the GPA builder or helper fetch methods.

I had assumed that if the child assets were burned then the currentSize would reflect this?

The collection address is C5LGCSmm9QYUFs9NfwryAmWsg4bvawT4dY9LKRx8Pikh

@joefitter
Copy link
Contributor Author

Another Core collection has been created with the same issue - GWhZEfsKp4cZjFKxchbbSqU96MnRpZGAJ1RQShMCVM4n

5 current assets, but none found when searching by the collection.

@joefitter
Copy link
Contributor Author

OK looking through the tx logs 5 core assets were minted into the above collection, an example of one is 7XsUFpgCuhzfMu8Rp3hBPYHofAM9s6UCG92EGye66yi4 - looking at the program logs, there is an update operation after the mint, which updates the update_authority of the core asset to the owner, and breaks the collection link.

This should not be possible, as the collection is left with 5 current assets, but by updating the update_authority the asset is no longer part of the collection

@danenbm
Copy link
Contributor

danenbm commented Jun 6, 2024

Fixed by you! Thank you again for finding and fixing this issue.
#54

@danenbm danenbm closed this as completed Jun 6, 2024
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

No branches or pull requests

2 participants