-
Notifications
You must be signed in to change notification settings - Fork 4
/
foundry.toml
57 lines (49 loc) · 1.31 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
# =================================
# ======== Default Profile ========
# =================================
[profile.default]
verbosity = 3
solc_version = "0.8.16"
optimizer = true
optimizer_runs = 10_000_000
fs_permissions = [{ access = "read", path = "./broadcast"}]
remappings = [
# Allows imports using e.g. `test/` to refer to root `test` directory.
"test/=test/",
"script/=script/",
]
# ==============================
# ======== Lite Profile ========
# ==============================
# Speed up compilation and tests during development.
[profile.lite]
optimizer = false
[profile.lite.fuzz]
runs = 50
[profile.lite.invariant]
runs = 10
# ============================
# ======== CI Profile ========
# ============================
[profile.ci.fuzz]
runs = 5000
[profile.ci.invariant]
runs = 1000
# ============================
# ======== Formatting ========
# ============================
[profile.default.fmt]
line_length = 80
tab_width = 2
bracket_spacing = false
int_types = 'short'
multiline_func_header = 'attributes_first'
quote_style = 'double'
number_underscore = 'thousands'
single_line_statement_blocks = 'single'
# ===============================
# ======== RPC Endpoints ========
# ===============================
[rpc_endpoints]
optimism = "${OPTIMISM_RPC_URL}"
optimism_goerli = "${OPTIMISM_GOERLI_RPC_URL}"