While creating ASA in algorand using stdlib.launchToken(), opts.metaDataHash value is ignored and not set in the asset.
KodisBabu opened this issue · 4 comments
Describe the error
While creating ASA in algorand using stdlib.launchToken(), opts.metaDataHash value is ignored and not set in the asset.
opts.metaDataHash value is not set while creating the asset in algorand network
To Reproduce
const nft = await stdlib.launchToken(accLender, "Gold Pass", "GP",{metadataHash: "12345678901234567890123456789012",url:"ipfs://xss.zzz",clawback:accLender.getAddress(),decimals:0,defaultFrozen:false,freeze:accLender.getAddress(),note:JsonToArray(metaData),reserve:accLender.getAddress(),supply:1});
Expected behavior
metaDataHash value should have been set
Extra information
What version of Reach are you using? You can run reach version
or reach hashes
to find out.
First, the key is metadataHash
, not metaDataHash
. How can you tell that it is not being set? That is, what do you check afterwards?
Ok. Thank you. I'll schedule someone to debug and get a stable test case for this
Hi @KodisBabu , as #1487 demonstrates, this has always worked if you look at the right field names