Metadata-Version: 2.4
Name: gasdiff
Version: 0.2.0
Summary: Generates Markdown reports for Forge gas report diffs
Project-URL: Source Code, https://github.com/guidanoli/gasdiff
Project-URL: Bug Tracker, https://github.com/guidanoli/gasdiff/issues
Author: Guilherme Dantas
License-File: LICENSE
Keywords: diff,forge,gas report,markdown,solidity,table
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: File Formats :: JSON
Classifier: Topic :: Text Processing :: General
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# gasdiff

Takes in the path of two Forge gas reports in JSON format, and prints out a gas diff report in Markdown format.
Forge JSON gas reports can be generated by running `forge test --gas-report --json`.
We also recommend passing `--fuzz-seed 0` so that fuzzy tests receive the same fuzzy parameters before and after changes in the source code.

## Usage

```bash
python -m gasdiff before.json after.json
```

## Example

Please consult the `examples` directory.
