game-of-nfts / gon-evidence

This repo records GoN participants' info and evidence.
25 stars 311 forks source link

BUG: Uptick token query - nft id(arkNFT022) only accepts alphanumeric characters #368

Open taitruong opened 1 year ago

taitruong commented 1 year ago

Summary of Bug

NFT with id arkNFT022 exists, but query stops with error

Environment

Steps to Reproduce

# token query returns error
$ uptickd query collection token 'ibc/326A6F38C0A4460B7F02AC3D936693254314A5F11720FE12DFE3B31036844B7B' 'arkNFT022' --output json

Error: nft id(arkNFT022) only accepts alphanumeric characters, and begin with an english letter: invalid nft id

# collection query though shows correct NFTs
$ uptickd query collection collection 'ibc/326A6F38C0A4460B7F02AC3D936693254314A5F11720FE12DFE3B31036844B7B' --output json | jq
...
      {
        "id": "arkNFT022",
        "name": "",
        "uri": "",
        "data": "{\"irismod:name\":{\"value\":\"\"},\"irismod:uri_hash\":{\"value\":\"\"}}",
        "owner": "uptick1h7c0ltrj6z707eh3z4cyv4jkqwfv6lj76se7lr",
        "uri_hash": ""
      }
    ]
...
uptSmart commented 1 year ago

For version compatibility, the nft id of the Uptick chain does not support capital letters. But the cross-chain protocol does not seem to have this limitation. this is a problem, we will deal with it as soon as possible

taramakage commented 1 year ago

For version compatibility, the nft id of the Uptick chain does not support capital letters. But the cross-chain protocol does not seem to have this limitation. this is a problem, we will deal with it as soon as possible

@uptSmart If this issue has already been fixed, please remind me to close it.