Skip to main content

Hardhat Gas Report Diff

Project description

HardHat Gas Report Diff

A Python package that processes reports generated by hardhat-gas-reporter and generates a Markdown table comparing the two.

Usage

  1. Have hardhat-gas-reporter installed in your environment
  2. Run hardhat test and save the report in a file called before.txt
  3. Make any changes to the source code you're testing
  4. Run hardhat test again and save the new report in a file called after.txt
  5. Run python -m hhgrdiff before.txt after.txt
  6. It should output a Markdown table comparing the two reports

Help

Run python -m hhgrdiff --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hardhat-gas-report-diff-0.1.0.tar.gz (16.1 kB view hashes)

Uploaded Source

Built Distribution

hardhat_gas_report_diff-0.1.0-py3-none-any.whl (16.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page