Generates Markdown reports for Forge gas report diffs
Project description
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
python -m gasdiff before.json after.json
Example
Please consult the examples directory.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gasdiff-0.3.0.tar.gz.
File metadata
- Download URL: gasdiff-0.3.0.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d2a613019ae45d7337fd31fb32a78c098d34ea5e84bbdc6e7fd361af2c26afd
|
|
| MD5 |
aa24a3f848866f22e4cfb9b9be70c728
|
|
| BLAKE2b-256 |
15fd5cc437c0181050beae5bfa6dd5dd66e0f88d743a23aaf2573458ef8c56fd
|
File details
Details for the file gasdiff-0.3.0-py3-none-any.whl.
File metadata
- Download URL: gasdiff-0.3.0-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05bc7227b9fbc321580ac774825e4ab5a277734ed714f7046daf21de6ef98c33
|
|
| MD5 |
56d6a1d2ee6b7452e44fc68da8cbd0e6
|
|
| BLAKE2b-256 |
e1d4670c2c12016e20ca5bafb04843e89f10862704179c3859dae96e1516bf93
|