Skip to main content

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

gasdiff-0.4.0.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gasdiff-0.4.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file gasdiff-0.4.0.tar.gz.

File metadata

  • Download URL: gasdiff-0.4.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for gasdiff-0.4.0.tar.gz
Algorithm Hash digest
SHA256 76cb8989ae56ebdc1fb585a60f8812236c9adaaa42763b2e66b2b75b9d99d52a
MD5 eb30fb8c1e0480f9b17d5eef150964a6
BLAKE2b-256 54576c5a92a2abcafe16325e932f37793cd1575fe377d19446e083e4525ef107

See more details on using hashes here.

File details

Details for the file gasdiff-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: gasdiff-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for gasdiff-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 da15553d070c119fb003bc381b77425f5a98e142c3d2e71ff4eaf3ce9f0305f9
MD5 1674c66d9db8e8090a720ea707f01e49
BLAKE2b-256 d3536edbbe5090b227623116e61afc502749d8f58467484a76b4e4154c6fd08e

See more details on using hashes here.

Supported by

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