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

Unable to mint a large amount of tokens #471

Open
jibbers42 opened this issue Mar 19, 2022 · 1 comment
Open

Unable to mint a large amount of tokens #471

jibbers42 opened this issue Mar 19, 2022 · 1 comment

Comments

@jibbers42
Copy link

I have created a token with the default of 9 decimals and the largest value I can enter to mint in the UI is 9007199, which lines up with JavaScript Number.MAX_SAFE_INTEGER (9007199254740991) assuming 9 digits that represent the decimals are then added. In other words, 9007199000000000 works, but 9007200000000000 does not.

When I press Preview instruction I get

Can't simulate transaction
The instruction is invalid
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

2 participants
@jibbers42 and others