-
Notifications
You must be signed in to change notification settings - Fork 6
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
Sound Protocol is not being properly crawled. #75
Comments
Sound protocol is being crawled and sound.xyz isn't. sound.xyz is the older protocol used by Sound. Have there been any songs published using the old protocol? |
Yes, I know An example; This should be crawled but it isn't: Whereas this is crawled: https://etherscan.io/tx/0xcce6e1528e6b5ea20db92dc02aca187e89d244540ef8ae8d01b10108e4e783e3 |
My guess is that this has to do with it being two different contracts |
I checked and I don't think that this is the case. As per my understanding SoundCreatorV1 is a factory contract which creates SoundEditionV1 contracts. We use sound-protocol-filter-contracts strategy to find SoundEditionV1 contracts. We then crawl all the found SoundEditionV1 contracts for tokenIds, tokenUri and so on. A little background on how In terms of sound-protocol, sound-protocol-filter-contracts finds newly created contracts and writes them to sound-protocol-filter-contracts-transformation. sound-protocol-call-tokenuri reads the sound-protocol-filter-contracts-transformation file and for each contract finds all minted tokenIDs. Imagine a scenario where an artist creates a SoundEditionV1 contract using SoundCreatorV1 at block number 5. When the crawl runs for block number 1-5 the new SoundEditionV1 contract is found. Suppose, the artist didn't mint any token yet. At block number 10, the artist mints their first token. The crawl now runs again for block number 5-10. sound-protocol-filter-contract finds nothing as no new contract has been created. sound-protocol-call-tokenuri reads sound-protocol-filter-contract-transformation file and finds no contracts to crawl. Note, there are two flat files and the new flat file is empty. tl;dr: I think tokens are not found if the mint happens a while after the SoundEditionV1 contract is created. |
No description provided.
The text was updated successfully, but these errors were encountered: