Open yangwao opened 2 years ago
Thanks @yangwao I look forward to building along side KoDadot as we open up the capibilites of Darwinia.network I will ask @TopCodeBeast make contrbutuons shorty.
I forked Kodadot Subquery from https://explorer.subquery.network/subquery/vikiival/magick and I changed only block height on code and I deployed.
At that time I can't fetch NFTs from that code.
I wondered and searched.
The result was a code mistake.
I found the error code on src/mappings/mappingHandlers.ts line 45
When it crate NFT id, there is no NFT id sometimes.
for example, if you don't create the collection and just create NFT, it doesn't have an id.
so I fixed the code like this. just add nft.id nft.id = getNftId(nft, remark.blockNumber)
I wonder why this error did not happen on https://explorer.subquery.network/subquery/vikiival/magick and I think it was because you deployed many times and the data still exits while you delete and deploy new versions.
Thanks for reading my comment.
mybestlife has used kodadot for rmrk hackathon which we really like!
https://discord.com/channels/840514076538830888/840514076538830894/909978638185807952 we are embracing this opportunity and create list of kodadot engines in wild
Comment to this issue so we can list you, on README.md for example