forked from lens-protocol/lens-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
45 lines (42 loc) · 1.3 KB
/
Copy pathfoundry.toml
File metadata and controls
45 lines (42 loc) · 1.3 KB
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
[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/"}, { access = "read", path = "./addressBook.json"}]
allow_internal_expect_revert = true
evm_version = 'paris'
[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.12"
# # 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 = { ... }
codegen = 'yul'
[fmt]
line_length = 121