-
Notifications
You must be signed in to change notification settings - Fork 3
/
foundry.toml
41 lines (36 loc) · 805 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
[profile.default]
src = 'src'
out = 'out'
libs = ['lib']
ffi = true
# Permissions
fs_permissions = [{ access = "read", path = "./test" }]
# Compilation
evm_version = "shanghai"
solc_version = "0.8.28"
via_ir = false
optimizer = false
extra_output_files = ["irOptimized"]
[fmt]
line_length = 80
int_types = "short"
number_underscore = "preserve"
[doc]
out = "docs_generated" # Note to not overwrite own docs
# Profile for intense testing
# Run via `FOUNDRY_PROFILE=intense forge t`
[profile.intense]
via_ir = false
optimizer = false
[profile.intense.fuzz]
runs = 10_000
max_test_rejects = 4_294_967_295
# Profile for ci testing
# Run via `FOUNDRY_PROFILE=ci forge t`
[profile.ci]
via_ir = true
optimizer = true
optimizer_runs = 100_000
[profile.ci.fuzz]
runs = 10_000
max_test_rejects = 4_294_967_295