-
Notifications
You must be signed in to change notification settings - Fork 52
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
Feature Request: Include sum of deployment gas in output #122
Comments
Indeeed, it would be a great addition!! |
@andreujuanc No workaround besides custom scripting, unfortunately. I wrote a hardhat task for my project that:
Code is here: https://github.com/wattsyart/cryptoadz-chained/blob/main/tasks/tasks.js#L171 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm routinely "gas golfing" large projects, and one thing I always need to do is dump out the gas report and manually sum it to get a total gas cost for every deployed contract to check if the experiment is reducing overall cost or not.
I can emit to a file and use regex to do this, but it would be nice to include a configuration switch that adds the total deployment gas usage to the output itself.
The text was updated successfully, but these errors were encountered: