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.2.0.tar.gz (20.9 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.2.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gasdiff-0.2.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

Hashes for gasdiff-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8ce10028cb9c2dd18bf1f7c3446dabdcb840b5b53764f3e1d0c212b169a77167
MD5 e71b5acd458977d54ee9f045d1e94acd
BLAKE2b-256 c274598d3a37d8d77ad9d5517c0ba878560eb5b46149024a52fa09a35addf491

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gasdiff-0.2.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

Hashes for gasdiff-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30649157f728b1001b6754b58bf6531c59dd829cb12b6197158c83c5c65e1d97
MD5 b8a1278aabdb5dec077966998e8ee6f1
BLAKE2b-256 772077d49047a6c8f551b2e2afbff8325bb20147b939d27590aad2053c0364c1

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