atarpara/Foundry Snapshot Diff
Easily compare gas snapshot generated by Foundry!
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | The repository's github token. | no | ${{ github.token }} |
| base | The gas diff reference branch name. | no | ${{ github.base_ref || github.ref_name }} |
| head | The gas diff target branch name. | no | ${{ github.head_ref || github.ref_name }} |
| include-new-contracts | Whether to include new tests in the report. | no | true |
| include-fuzz-tests | Whether to include fuzz tests in the report. | no | false |
| fresh-snapshots | Generates a new snapshot if 'true', otherwise fetches the snapshot from the PR branch | no | true |
| foundry-profile | Optional FOUNDRY_PROFILE to run `forge snapshot` under (e.g. `post_osaka`, `post_cancun`). | no | default |
Outputs
| name | description |
|---|---|
| markdown | The gas diff between the base gas report and the new gas report, specifically formatted for markdown display |