dapphub / dapphub/dapptools

`seth --to-fix`: numerical result out of range

Open
#806 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
2.1k
Forks
320
PR merge metrics
No merged PRs in 30d

Description

If I call `seth --to-fix` with a large number, and a `` arg that is larger than the number of digits in the input I get an error from printf:

```sh
> seth --to-fix 256 $(seth --max-uint)
0.printf: ‘0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff’: Numerical result out of range
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009223372036854775807
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.