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

Too big integers - Struct: failed on value: Compact<u128> #82

Open
NachoPal opened this issue Nov 26, 2022 · 0 comments
Open

Too big integers - Struct: failed on value: Compact<u128> #82

NachoPal opened this issue Nov 26, 2022 · 0 comments

Comments

@NachoPal
Copy link
Contributor

Struct: failed on value: Compact<u128>:: Number needs to be an integer <= Number.MAX_SAFE_INTEGER, i.e. 2 ^ 53 - 1

The solution is to add quotes to the integer

amount: '100000000000000000000'
@NachoPal NachoPal changed the title Too big integers Too big integers - Struct: failed on value: Compact<u128> Nov 26, 2022
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