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

Console.log feature gets crazy with numbers above 2**254 (for example "MAX_UINT = 2**256 - 1" is displayed as -1) #1182

Closed
vicnaum opened this issue Jan 15, 2021 · 1 comment · Fixed by #1210
Assignees
Labels
type:bug Something isn't working

Comments

@vicnaum
Copy link

vicnaum commented Jan 15, 2021

Here's a simple to reproduce test showing how the error goes:

image

@scnale scnale added the type:bug Something isn't working label Jan 29, 2021
@scnale scnale self-assigned this Jan 29, 2021
scnale added a commit that referenced this issue Jan 29, 2021
scnale added a commit that referenced this issue Jan 30, 2021
@fvictorio fvictorio added this to the hardhat-core@2.0.9 milestone Feb 9, 2021
@fvictorio
Copy link
Member

Thanks a lot for reporting this @vicnaum. We just released hardhat@2.0.9 that fixes this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants