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
- Have
hardhat-gas-reporter
installed in your environment - Run
hardhat test
and save the report in a file calledbefore.txt
- Make any changes to the source code you're testing
- Run
hardhat test
again and save the new report in a file calledafter.txt
- Run
python -m hhgrdiff before.txt after.txt
- It should output a Markdown table comparing the two reports
Help
Run python -m hhgrdiff --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hardhat-gas-report-diff-0.1.0.tar.gz
.
File metadata
- Download URL: hardhat-gas-report-diff-0.1.0.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 571ace96c5b0c1ae404c9445d63423f9412ba0241ffd1cb8d6fdc21467710970 |
|
MD5 | 20eba41b981592cea9f53a6e4ee27a7a |
|
BLAKE2b-256 | 2e11ef16d468955ca3af933c22fe06f8f542c7b9bec2472fbe4053c5abd2f59b |
File details
Details for the file hardhat_gas_report_diff-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: hardhat_gas_report_diff-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30af7e896bdf073d21bd3e60154f4933c9aeda1cade481c1d210a71b70dc9be8 |
|
MD5 | 2a51308057d50b82b970361d017ced1d |
|
BLAKE2b-256 | 97c01259bb05c47d690ccf0f3420c031104cc3a2403a28c4aa4a96709ba9cd00 |