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

Increase max hexadecimal number #153

Open
guillemap opened this issue Mar 22, 2024 · 0 comments
Open

Increase max hexadecimal number #153

guillemap opened this issue Mar 22, 2024 · 0 comments

Comments

@guillemap
Copy link

guillemap commented Mar 22, 2024

Probably related to #135

The issue is, for big numbers the input field becomes 0, for example for a hex number like 1c7af1bbebe1d6222e59
This makes the tool unusable for example when decoding hex data from Ethereum transactions where numbers are often bigints with +18 digits.

Expected behavior:

         Hexadecimal                     Decimal
1c7af1bbebe1d6222e59 -> 134494183072681609539161

Current behavior:

         Hexadecimal                     Decimal
1c7af1bbebe1d6222e59 ->                        0
 c7af1bbebe1d6222e59 ->                        0
  7af1bbebe1d6222e59 ->                        0
   af1bbebe1d6222e59 ->                        0
    f1bbebe1d6222e59 ->                        0
     1bbebe1d6222e59 ->       124952769875553881
      bbebe1d6222e59 ->        52895175837625945
@guillemap guillemap changed the title Increase max hexadecimal number size Increase max hexadecimal number Mar 23, 2024
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