-
Notifications
You must be signed in to change notification settings - Fork 26
/
foundry.toml
57 lines (42 loc) · 1017 Bytes
/
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
[profile.default]
src = "src"
test = "test"
libs = ["lib"]
fs_permissions = [
{ access = "read", path = "./script/config/"},
{ access = "read", path = "./out/"}
]
[profile.default.fmt]
wrap_comments = true
[profile.default.rpc_endpoints]
custom = "${RPC_URL}"
ethereum = "https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}"
goerli = "https://eth-goerli.g.alchemy.com/v2/${ALCHEMY_KEY}"
sepolia = "https://eth-sepolia.g.alchemy.com/v2/${ALCHEMY_KEY}"
[profile.build]
via-ir = true
test = "/dev/null"
script = "/dev/null"
[profile.script]
src = "/dev/null"
test = "/dev/null"
[profile.test-slow]
via-ir = false
[profile.test-slow.fuzz]
runs = 10000
max_test_rejects = 500000
[profile.test-slow.invariant]
runs = 64
depth = 2048
[profile.test-fast]
via-ir = false
[profile.test-fast.fuzz]
runs = 256
max_test_rejects = 65536
[profile.test-fast.invariant]
runs = 16
depth = 256
[profile.checker]
test = 'certora/checker'
fs_permissions = [{access = "read", path= "./"}]
match_contract = 'Checker'