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

treasury.spend() assumes native token UNIT even though it should be u128 #11070

Open
1 of 10 tasks
clangenb opened this issue Nov 7, 2024 · 0 comments
Open
1 of 10 tasks

Comments

@clangenb
Copy link
Contributor

clangenb commented Nov 7, 2024

  • I'm submitting a ...
  • Bug report
  • Feature request
  • Support request
  • Other
  • What is the current behavior and expected behavior?

When I want to submit a treasurySpend with a non-native asset, the number of decimals is messed up because the UI assumes that it is the native currency:

image

  • What is the motivation for changing the behavior?
  • Please tell us about your environment:
  • Version:

  • Environment:

    • Node.js
    • Browser
    • Other (limited support for other environments)
  • Language:

    • JavaScript
    • TypeScript (include tsc --version)
    • Other
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant