forked from lidofinance/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
32 lines (23 loc) · 758 Bytes
/
Copy pathfoundry.toml
File metadata and controls
32 lines (23 loc) · 758 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
31
32
[profile.default]
# The source directory
src = 'contracts'
# The artifact directory
out = 'foundry/out'
# A list of paths to look for libraries in
libs = ['node_modules', 'foundry/lib']
# The test directory
test = 'test'
# Whether to cache builds or not
cache = true
# The cache directory if enabled
cache_path = 'foundry/cache'
# Only run tests in contracts matching the specified glob pattern
match_path = '**/test/**/*.t.sol'
# https://book.getfoundry.sh/reference/config/testing#fuzz
# fuzz = { runs = 256 }
# https://book.getfoundry.sh/reference/config/testing#invariant
# invariant = { runs = 256, depth = 15 }
# Fails the invariant fuzzing if a revert occurs
# fail_on_revert = true
# Style of uint/int256 types
fmt = { int_types = 'long' }