-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathfoundry.toml
46 lines (41 loc) · 1.71 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
[profile.default]
evm_version = "shanghai"
ffi = true
fs_permissions = [{ access = "read", path = "./test/data/" }, { access = "read", path = "./snark-verifiers" }, { access = "read", path = "./script/config/" }]
gas_limit = "18446744073709551615"
gas_reports = ["AxiomV2Prover", "AxiomV2Query", "AxiomV2HeaderVerifier", "AxiomProxy"]
libs = ['lib']
memory_limit = 43554432
optimizer = true
optimizer_runs = 100000
out = 'out'
solc = "0.8.19"
src = 'contracts'
[profile.default.optimizer_details]
constantOptimizer = false
yul = false
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
# Configures permissions for cheatcodes that touch the filesystem like `vm.writeFile`
# `access` restricts how the `path` can be accessed via cheatcodes
# `read-write` | `true` => `read` + `write` access allowed (`vm.readFile` + `vm.writeFile`)
# `none`| `false` => no access
# `read` => only read access (`vm.readFile`)
# `write` => only write access (`vm.writeFile`)
# The `allowed_paths` further lists the paths that are considered, e.g. `./` represents the project root directory
# By default _no_ fs access permission is granted, and _no_ paths are allowed
# following example enables read access for the project dir _only_:
# `fs_permissions = [{ access = "read", path = "./"}]`
[rpc_endpoints]
mainnet = "${MAINNET_RPC_URL}"
goerli = "${GOERLI_RPC_URL}"
sepolia = "${SEPOLIA_RPC_URL}"
[fmt]
bracket_spacing = true
int_types = "long"
line_length = 120
multiline_func_header = "attributes_first"
number_underscore = "thousands"
quote_style = "double"
single_line_statement_blocks = "multi"
tab_width = 4
wrap_comments = false