-
Notifications
You must be signed in to change notification settings - Fork 1
/
foundry.toml
55 lines (50 loc) · 1.29 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
[profile.default]
solc_version = "0.8.26"
evm_version = "shanghai"
auto_detect_solc = false
optimizer = true
optimizer_runs = 800 # 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",
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts",
'ds-test/=lib/forge-std/lib/ds-test/src/',
'forge-std/=lib/forge-std/src/',
'solmate/=lib/solmate/src/',
'libraries/=src/libraries',
'interfaces/=src/interfaces',
'mixins/=src/mixins',
'solady/=lib/solady/src/',
'forge-deploy/=lib/forge-deploy/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.evm_paris]
evm_version = "paris"
[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]
fail_on_revert = true
# See more config options https://book.getfoundry.sh/reference/config/