-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
50 lines (42 loc) · 1.06 KB
/
foundry.toml
File metadata and controls
50 lines (42 loc) · 1.06 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
46
47
48
49
50
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
solc = "0.8.30"
evm_version = "cancun"
allow_internal_expect_revert = true
bytecode_hash = "none"
cbor_metadata = false
dynamic_test_linking = true
ffi = true
fs_permissions = [{ access = "read", path = "out" }]
ignored_error_codes = [2394]
optimizer = true
optimizer_runs = 44444444
verbosity = 2
via_ir = true
additional_compiler_profiles = [
{ name = "test", optimizer_runs = 1 }
]
compilation_restrictions = [
{ paths = "test/**", optimizer_runs = 1 }
]
remappings = [
"forge-std/=lib/forge-std/src/",
"@openzeppelin/=lib/openzeppelin-contracts/contracts/",
"permit2/=lib/permit2/src/"
]
[fmt]
line_length = 120
tab_width = 4
quote_style = "double"
func_attrs_with_params_multiline = true
inline_attribute_style = "compact"
return_statement = "inline"
[lint]
lint_on_build = false
[rpc_endpoints]
mainnet = "${ETHEREUM_RPC_URL}"
[etherscan]
mainnet = { key = "${ETHERSCAN_API_KEY}", chainId = 1 }
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options