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

Can not set uri + uri_hash metatdata for token factory bindings #60

Open
ledanghuy1811 opened this issue Dec 19, 2024 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@ledanghuy1811
Copy link

Context

When we try to create token factory denom by tokens-binding contract, the metadata of token that we created miss uri and uri_hash filed:
Screenshot 2024-12-19 at 16 58 26

To Reproduce

Steps to reproduce the behavior:

  1. Go to our token-bindings github repo: https://github.com/oraichain/token-bindings
  2. Try to build and deploy token-bindings contract
  3. Execute the create denom message of contract
  4. See error

Expected behavior

The return token must have uri and uri_hash filed in metadata

@ledanghuy1811 ledanghuy1811 added the bug Something isn't working label Dec 19, 2024
@ledanghuy1811 ledanghuy1811 self-assigned this Dec 19, 2024
@ledanghuy1811
Copy link
Author

The error comes up because in module tokenfactory, we don't declare uri and uri_hash for metadata bindings
Screenshot 2024-12-19 at 17 03 39

@ledanghuy1811
Copy link
Author

To fix this issue, we add uri and uri_hash for metadata bindings:
Screenshot 2024-12-19 at 17 04 50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant