-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
30 lines (27 loc) · 719 Bytes
/
Copy pathfoundry.toml
File metadata and controls
30 lines (27 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[profile.default]
src = "src"
test = "test"
out = "out"
libs = ["lib"]
solc = "0.8.24"
optimizer = true
optimizer_runs = 200
# Some exercises intentionally ship buggy contracts to be audited. We compile
# the whole tree; the tests document which behaviors are the planted bugs.
fs_permissions = [{ access = "read", path = "./" }]
# Run the solution test suite in isolation with:
# forge test --profile solutions
# It points `test` at the solutions/ tree, which contains the corrected
# contracts and the tests that prove them correct.
[profile.solutions]
src = "src"
test = "solutions"
out = "out-solutions"
libs = ["lib"]
solc = "0.8.24"
[fuzz]
runs = 256
[invariant]
runs = 256
depth = 32
fail_on_revert = false