-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
71 lines (66 loc) · 1.79 KB
/
foundry.toml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[profile.default]
solc_version = "0.8.20"
evm_version = "paris" # switch to shanghai once it's supported on L2
auto_detect_solc = false
deny_warnings = true
optimizer = true
optimizer_runs = 400 # fails at 1_000 because certain contracts become too large
src = 'src'
out = 'out'
libs = ['lib']
verbosity = 1
via_ir = false
remappings = [
'/=src',
"openzeppelin-contracts/=lib/openzeppelin-contracts/contracts",
'BoringSolidity/=lib/BoringSolidity/contracts/',
'ds-test/=lib/forge-std/lib/ds-test/src/',
'forge-std/=lib/forge-std/src/',
'solmate/=lib/solmate/src/',
'utils/=utils',
'libraries/=src/libraries',
'interfaces/=src/interfaces',
'cauldrons/=src/cauldrons',
'staking/=src/staking',
'swappers/=src/swappers',
'oracles/=src/oracles',
'strategies/=src/strategies',
'tokens/=src/tokens',
'periphery/=src/periphery',
'mixins/=src/mixins',
'lenses/=src/lenses',
'surl/=lib/surl/src/',
'solady/=lib/solady/src/',
'forge-deploy/=lib/forge-deploy/contracts',
'ExcessivelySafeCall/=lib/ExcessivelySafeCall/src/',
'safe-contracts/=lib/safe-contracts/contracts/',
]
auto_detect_remappings = false
match-path = "test/**/*.t.sol"
match-contract = "Test$"
ffi = false
fs_permissions = [
{ access = "read-write", path = "./deployments" },
{ access = "read", path = "./out" },
{ access = "read", path = "./config" },
]
[profile.shanghai]
evm_version = "shanghai"
match-path = "test/**/*.t.shanghai.sol"
[profile.ci]
verbosity = 4
[profile.ci.fuzz]
verbosity = 4
runs = 256
[fuzz]
runs = 256
max_test_rejects = 65536
seed = '0x3e8'
dictionary_weight = 40
include_storage = true
include_push_bytes = true
[invariant]
runs = 30
depth = 15
fail_on_revert = true
# See more config options https://book.getfoundry.sh/reference/config/