Skip to content

Commit

Permalink
ci: introduce tolerance for gas usage
Browse files Browse the repository at this point in the history
  • Loading branch information
xenide committed Jan 23, 2024
1 parent a0180cf commit 475b991
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ jobs:
- uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- run: forge snapshot --check
# introduced tolerance due to a bug in foundry
# as we cannot get deterministic gas usage even with a seed
- run: forge snapshot --check --tolerance 1
env:
FOUNDRY_PROFILE: default

Expand Down

0 comments on commit 475b991

Please sign in to comment.