-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathfoundry.toml
42 lines (39 loc) · 1.19 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
[profile.default]
src = 'contracts'
out = 'out'
libs = ['node_modules', 'lib']
test = 'test'
cache_path = 'cache_forge'
solc_version = '0.8.28'
# via_ir = true
optimizer = false
# optimizer_runs = 10
fs_permissions = [{ access = "read", path = "./test/token-uri/expected-svgs/"}]
[profile.default.fuzz]
runs = 1024
no_zksync_reserved_addresses = true
[profile.default.zksync]
# Compile contracts for zkVM
# compile = true
# Enable zkVM at startup, needs `compile = true` to have effect
# startup = true
# # By default the latest version is used
# zksolc = "1.5.0"
# # By default the corresponding solc patched version from matter-labs is used
# solc_path = "./solc-0.8.23-1.0.1"
# bytecode_hash = "none"
# # Allow compiler to use mode 'z' if contracts won't fit in the EraVM bytecode
# # size limitations
# fallback_oz = false
# # Enable EraVM extensions (ex system-mode)
# enable_eravm_extensions = false
# # Force compilation via EVMLA instead of Yul codegen pipeline
# force_evmla = false
# # Enable optimizer on zksolc (defaults to true)
optimizer = true
# zksolc optimizer mode (0 | 1 | 2 | 3 | s | z)
optimizer_mode = '1'
# # zksolc optimizer details
# optimizer_details = { ... }
[fmt]
line_length = 121