governance-ui icon indicating copy to clipboard operation
governance-ui copied to clipboard

Unable to mint a large amount of tokens

Open jibbers42 opened this issue 2 years ago • 1 comments

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

jibbers42 avatar Mar 19 '22 19:03 jibbers42