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

wallet doesn't support token without dot #1370

Open
baseloo opened this issue Apr 4, 2024 · 2 comments
Open

wallet doesn't support token without dot #1370

baseloo opened this issue Apr 4, 2024 · 2 comments
Labels
anchor bug Something isn't working

Comments

@baseloo
Copy link

baseloo commented Apr 4, 2024

Description

created a token with the name "NDOLLAR" and max supply as the trx below
https://explorer.telos.net/transaction/5a4c58231455525f00d6bc3b2edcd46b2d3824369c42850f8dfcdff48529d0c4
You can see the token is without a dot and any digits after it.

I got this error message in the transfer process

image

Thank you,

Platform

Desktop (Windows)

Steps To Reproduce

new token with name.
add max supply without DOT.
try to transfer from account a to b.

Relevant log output

Error: Number 15372286728091292160000 overflows int64
    at new E (file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:2:519249)
    at new x (file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:2:523159)
    at Function.from (file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:2:521546)
    at t.convertFloat (file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:2:549240)
    at Function.fromFloat (file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:2:547471)
    at Function.from (file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:2:547069)
    at s.value (file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:2:2445480)
    at Wa (file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:2:4418375)
    at za (file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:2:4418170)
    at Su (file:///C:/Program%20Files/Anchor%20Wallet/resources/app.asar/dist/renderer.main.prod.js:2:4453784)

Contact Details

[email protected]

Anything else?

No response

@baseloo baseloo added anchor bug Something isn't working labels Apr 4, 2024
@aaroncox
Copy link
Member

aaroncox commented Apr 4, 2024

What was the input amount you entered to transfer? That number does look larger than the supply

@baseloo
Copy link
Author

baseloo commented Apr 4, 2024

The error occurred before the input for the amount, just by selecting the token from the token list.
image

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

No branches or pull requests

2 participants