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.
Metadata
Release files for gasdiff 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gasdiff-0.4.0.tar.gz | 21.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gasdiff-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.5 kB
Release files / gasdiff-0.4.0.tar.gz
| Download URL | gasdiff-0.4.0.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76cb8989ae56ebdc1fb585a60f8812236c9adaaa42763b2e66b2b75b9d99d52a
|
|
BLAKE2b-256 checksum How to use checksums |
54576c5a92a2abcafe16325e932f37793cd1575fe377d19446e083e4525ef107
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / gasdiff-0.4.0-py3-none-any.whl
| Download URL | gasdiff-0.4.0-py3-none-any.whl |
|---|---|
| Size | 15.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da15553d070c119fb003bc381b77425f5a98e142c3d2e71ff4eaf3ce9f0305f9
|
|
BLAKE2b-256 checksum How to use checksums |
d3536edbbe5090b227623116e61afc502749d8f58467484a76b4e4154c6fd08e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|