kodadot / stick

GraphQL service for Uniques and Assets on Asset Hubs
MIT License
4 stars 11 forks source link

Mint to should not emit transfer #133

Open vikiival opened 1 year ago

vikiival commented 1 year ago

Implement that mint handler should not emit transfer event.

Describe the bug

https://kodadot.xyz/ahp/gallery/10-24

The drops are calling nfts.mint(collection, sn, address, null)

From some reason the mint to is also creating an additional event of transfer (that basically never happened)

To Reproduce

Create and nft in any https://kodadot.xyz/drops

Expected behavior

MINT_TO should mark TO as the minter of the particular NFT

Screenshots

Screenshot 2023-10-25 at 17 01 21

Additional context

roiLeo commented 1 year ago

https://github.com/kodadot/stick/blob/74fda95fea900f63ea4730564050f3a35a042b76/src/mappings/nfts/mint.ts#L73-L75

vikiival commented 9 months ago

Was this implemented? Cc @roiLeo

roiLeo commented 9 months ago

Nope, feel free to remove https://github.com/kodadot/stick/issues/133#issuecomment-1784715926