Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,3 @@ jobs:
- name: Run Forge tests
run: forge test -vvv --gas-report
id: test

- name: Run Forge coverage
run: forge coverage --ir-minimum
id: coverage
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ forge test --force --gas-report
Run

```sh
forge coverage
forge coverage --ir-minimum
```

### Linting & Static Analysis
Expand Down
11 changes: 6 additions & 5 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ gas_reports = ["XanV1", "ForeignReserveV1", "XanV2", "XanV2Forwarder"]

allow_internal_expect_revert = true

[invariant]
runs = 500
depth = 64
extra_output = ["storageLayout"]
fail_on_revert = false

[profile.ci]
fuzz = { runs = 10_000 }
verbosity = 4
Expand Down Expand Up @@ -58,8 +64,3 @@ polygon = "https://polygon-mainnet.infura.io/v3/${API_KEY_INFURA}"
sepolia = "https://sepolia.infura.io/v3/${API_KEY_INFURA}"

# Full reference https://github.com/foundry-rs/foundry/tree/master/crates/config

[invariant]
runs = 1000
depth = 128
fail_on_revert = false