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

bug: Grow bitcoin RGas swap interface crash #3092

Open
nonast opened this issue Dec 23, 2024 · 0 comments
Open

bug: Grow bitcoin RGas swap interface crash #3092

nonast opened this issue Dec 23, 2024 · 0 comments
Assignees
Labels
area::sdk bug Something isn't working
Milestone

Comments

@nonast
Copy link

nonast commented Dec 23, 2024

Rooch version

n/a

What did you do?

On the swap RGas dialog on grow.rooch, I enter a number with a lot of zeros (e.g. 0,000001).

What did you see happen?

The site crashes (turns white) with this error in the browser console:

117-a4bea2e1ac79b24d.js:1 RangeError: The number 1000.0000000000001 cannot be converted to a BigInt because it is not an integer
at BigInt ()

What did you expect to see?

The website should not crash.

@nonast nonast added the bug Something isn't working label Dec 23, 2024
@jolestar jolestar added this to the Rooch v0.9 milestone Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area::sdk bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

4 participants
@jolestar @wow-sven @nonast and others