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

Not supporting Big Numbers >1e10 for BSC #13

Open
bhargav55 opened this issue Feb 26, 2021 · 1 comment
Open

Not supporting Big Numbers >1e10 for BSC #13

bhargav55 opened this issue Feb 26, 2021 · 1 comment
Assignees

Comments

@bhargav55
Copy link

USDC in BSC has 18 decimals, so need support for values in the range 1e18 for meta transactions.

Getting the below error when trying to use big numbers, However it is working well with normal txns without Biconomy

Uncaught (in promise) Error: invalid hexlify value (operation="checkSafeInteger", fault="out-of-safe-range", value=1000000000000000000, code=NUMERIC_FAULT, version=bytes/5.0.10)

@bhargav55
Copy link
Author

Steps to reproduce it,

  1. create a custom token with 18 decimals.
  2. Approve certain amount(token.approve) in wei as allowance for any user2 from user1.
  3. Transfer the allowance(token.transferFrom) by user2 from user1 to user3.

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

3 participants
@bhargav55 @divyaN73 and others