Closed vikiival closed 6 months ago
@roiLeo can you please chceck ?
...
event: {
args: {
collection: 276,
item: 33,
owner: '0x0887f584ae9309f983b3b42b082a684de363f898ae6267d34ebf6b6b2b84d641'
},
id: '0006172214-000005-f09c4',
indexInBlock: 5,
name: 'Nfts.Issued',
phase: 'ApplyExtrinsic',
pos: 9,
extrinsic: {
error: null,
hash: '0xaca556237c90236a7082331da3300242923a5b6e2a6875c0bf427f2227097deb',
id: '0006172214-000002-f09c4',
indexInBlock: 2,
pos: 20,
signature: [Object],
success: true,
version: 4,
fee: 109475620n,
tip: 0n,
call: [Object]
},
call: {
args: [Object],
error: null,
id: '0006172214-000002-f09c4-000001',
name: 'Nfts.mint',
origin: [Object],
pos: 10,
success: true,
parent: [Object]
}
}
...
no arg metadata
in context nor CreateTokenEvent
, check if we can get it in NftsIssuedEvent
now on handleMetadataSet
:
[METADATA] {
"caller": "CmWHiv7h4m9tEzKD94DH4mqwGTvsdYQe2nouWPF7ipmHpqA",
"blockNumber": "6172214",
"timestamp": "2024-01-08T14:13:54.000Z",
"collectionId": "276",
"sn": "33",
"metadata": "ipfs://ipfs/bafkreia647pfzm6mmx5cvlhrgkrxi6x24mbgmz4axdzibsmjqmoql6dg3a"
}
now on handleMetadataSet:
Yes this is the correct metadata hash, I am just wondering why it was not updated .
now on handleMetadataSet:
Yes this is the correct metadata hash, I am just wondering why it was not updated .
any idea what this part does? https://github.com/kodadot/stick/blob/cb6133ed1dd16d440db60660c461a988dcc9dcae/src/mappings/nfts/setMetadata.ts#L49-L59
I managed to make it work without
Guess that was because of tokenEntity handling cc @daiagi ?
Context
Minted one NFT on Ahk today all the details got disregarded image is collection cover, name is just default naming for collection, etc https://canary.kodadot.xyz/ahk/gallery/276-33
transaction: https://assethub-kusama.subscan.io/tx/0xaca556237c90236a7082331da3300242923a5b6e2a6875c0bf427f2227097deb
This looks like issue on the indexer side. Transaction seems to be correct
metadata
Query
Res
Originally posted by @vikiival in https://github.com/kodadot/nft-gallery/issues/8910#issuecomment-1881125422