Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: iris query nft token - invalid denom #341

Open
taitruong opened this issue Mar 8, 2023 · 4 comments
Open

BUG: iris query nft token - invalid denom #341

taitruong opened this issue Mar 8, 2023 · 4 comments

Comments

@taitruong
Copy link
Contributor

taitruong commented Mar 8, 2023

Summary of Bug

I have transferred "ark13" from Stargaze to IRISnet, but I cant query for this specific token.

Environment

  • OS: Ubuntu 22.03
  • Software version: iris v1.4.1-gon-testnet

Steps to Reproduce

#  query for specific token  does not work
$ iris query nft token 'ibc/3449A9F89F4841A735D15600ADDD3757C43CD2DEC841C1006D3B6B1C37ADB2CE' 'ark-13' --output json
Error: tokenID can only accept characters that match the regular expression: ([a-z][a-zA-Z0-9/]{2,127}),but got (ark-13): invalid denom

# thought collection shows there is token ark13
$ iris query nft collection 'ibc/3449A9F89F4841A735D15600ADDD3757C43CD2DEC841C1006D3B6B1C37ADB2CE' --output json
5 tokens found
...
      {
        "id": "ark-13",
        "name": "",
        "uri": "",
        "data": "",
        "owner": "iaa183e7ccwsnngj2q8lfxnmekunspnfxs6qxd4v3f",
        "uri_hash": ""
      }
...

Expected and Actual Behavior

Token query should work.

@taitruong
Copy link
Contributor Author

@dreamer-zq

@dreamer-zq
Copy link

@dreamer-zq

Prompt that tokenID is illegal and cannot contain a horizontal line

@taitruong
Copy link
Contributor Author

Not sure whether prompting an error is sufficient here, since token exists. So query should be possible.

@taramakage
Copy link
Member

Not sure whether prompting an error is sufficient here, since token exists. So query should be possible.

The application layer has its specific logic for handling NFTs. As there is no unified specification for cross-chain assets at the application layer, we can only ensure that the destination chain holds your asset, but we cannot guarantee the asset can have the full functionality of that dest chain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants