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] toriiClient getTokens / getTokenBalances token_ids unsupported #3086

Closed
notV4l opened this issue Mar 7, 2025 · 1 comment
Closed
Assignees
Labels
bug Something isn't working torii

Comments

@notV4l
Copy link
Collaborator

notV4l commented Mar 7, 2025

Describe the bug
providing a non empty token_ids array to toriiClient getTokens / getTokenBalances is not handled
--> Uncaught RuntimeError: unreachable

@notV4l notV4l added bug Something isn't working torii labels Mar 7, 2025
@notV4l notV4l changed the title [BUG] toriiClient getTokens token_ids unsupported [BUG] toriiClient getTokens / getTokenBalances token_ids unsupported Mar 7, 2025
@notV4l notV4l changed the title [BUG] toriiClient getTokens / getTokenBalances token_ids unsupported [BUG] toriiClient getTokens / getTokensBalance token_ids unsupported Mar 7, 2025
@notV4l notV4l changed the title [BUG] toriiClient getTokens / getTokensBalance token_ids unsupported [BUG] toriiClient getTokens / getTokenBalances token_ids unsupported Mar 7, 2025
@Larkooo
Copy link
Collaborator

Larkooo commented Mar 10, 2025

This issue is not related to torii / torii client but dojo.c. I will close this and push a fix on dojo.c. For other issues related to torii wasm, please create them on the dojo.c repo.

For now, make sure you pass a hex value without the "0x" at the start for the token_ids array.

@Larkooo Larkooo closed this as completed Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working torii
Projects
None yet
Development

No branches or pull requests

2 participants