Skip to content

Commit 3f6c9de

Browse files
authored
Merge pull request #34 from devtooligan/update-fuzz
2 parents 2f3e1b2 + 71e8d29 commit 3f6c9de

File tree

5 files changed

+13
-14
lines changed

5 files changed

+13
-14
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818
run: forge install
1919

2020
- name: Run Tests
21-
run: FOUNDRY_PROFILE=ci forge test
21+
run: forge test
22+
env:
23+
FOUNDRY_PROFILE=ci
2224

2325
snapshot:
2426
runs-on: ubuntu-latest

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
[submodule "lib/solmate"]
2-
path = lib/solmate
3-
url = https://github.com/rari-capital/solmate
41
[submodule "lib/forge-std"]
52
path = lib/forge-std
63
url = https://github.com/foundry-rs/forge-std
4+
[submodule "lib/solmate"]
5+
path = lib/solmate
6+
url = https://github.com/transmissions11/solmate

foundry.toml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,11 @@
66
[profile.default]
77
solc_version = '0.8.15'
88
auto_detect_solc = false
9-
optimizer = true
109
optimizer_runs = 1_000
11-
fuzz_runs = 1_000
12-
remappings = [
13-
"forge-std=lib/forge-std/src/",
14-
"solmate=lib/solmate/src/",
15-
]
10+
11+
[fuzz]
12+
runs = 1_000
1613

1714
# Extreme Fuzzing CI Profile :P
18-
[profile.ci]
19-
fuzz_runs = 100_000
15+
[profile.fuzz.ci]
16+
runs = 100_000

0 commit comments

Comments
 (0)