forked from erc6900/reference-implementation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
foundry.toml
60 lines (47 loc) · 975 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
58
59
60
[profile.default]
solc = '0.8.19'
via_ir = false
src = 'src'
test = 'test'
libs = ['lib']
out = 'out'
optimizer = true
optimizer_runs = 10_000
ignored_error_codes = [3628]
fs_permissions = [
{ access = "read", path = "./out-optimized" }
]
[fuzz]
runs = 500
[invariant]
runs=500
fail_on_revert = true
depth = 10
[profile.optimized-build]
via_ir = true
test = 'src'
out = 'out-optimized'
[profile.optimized-test]
src = 'test'
[profile.optimized-test-deep]
src = 'test'
[profile.optimized-test-deep.fuzz]
runs = 10000
[profile.optimized-test-deep.invariant]
runs = 5000
depth = 32
[profile.deep.fuzz]
runs = 10000
[profile.deep.invariant]
runs = 5000
depth = 32
[fmt]
line_length = 115
wrap_comments = true
[rpc_endpoints]
mainnet = "${RPC_URL_MAINNET}"
goerli = "${RPC_URL_GOERLI}"
[etherscan]
mainnet = { key = "${ETHERSCAN_API_KEY}" }
goerli = { key = "${ETHERSCAN_API_KEY}" }
# See more config options https://github.com/foundry-rs/foundry/tree/master/config