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

Add option to specify price's decimal precision #88

Closed
Martibis opened this issue Jan 24, 2022 · 5 comments
Closed

Add option to specify price's decimal precision #88

Martibis opened this issue Jan 24, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@Martibis
Copy link

I can set currency to ETH, but currently it's limited to 0.01 ETH and I'd like to see it in more detail e.g.: 0.0124885 ETH

@cgewecke cgewecke changed the title Allow to set numbers after comma Add option to specify price's decimal precision Jan 24, 2022
@cgewecke
Copy link
Owner

Thanks for this suggestion. Am renaming this issue slightly...

@cgewecke cgewecke added the enhancement New feature or request label Jan 24, 2022
@Martibis
Copy link
Author

That's definitely a better title (English isn't my first language, so thanks for the improvement)!

@qqqllppp
Copy link

qqqllppp commented Jan 28, 2022

Increasing price decimal precision is good for other chains as well like Polygon with very low transaction fees, which currently just displays 0.00 for all function calls and deployments.

@Biuni
Copy link

Biuni commented Dec 14, 2022

Any news?

@cgewecke cgewecke mentioned this issue Jan 11, 2024
@cgewecke cgewecke mentioned this issue Feb 11, 2024
54 tasks
@cgewecke
Copy link
Owner

This has been added to the latest version (2.0). You can set the currency display's precision as below

currencyDisplayPrecision: 4. // $0.0007

https://github.com/cgewecke/hardhat-gas-reporter/releases/tag/v2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants