-
Notifications
You must be signed in to change notification settings - Fork 10
/
foundry.toml
55 lines (48 loc) · 1.59 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
[profile.default]
auto_detect_solc = false
src = "src"
out = "out"
solc = "0.8.21"
libs = ["lib"]
verbosity = 3
remappings = ["@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"@balancer-labs/v2-interfaces/=lib/balancer-v2-monorepo/pkg/interfaces/",
"@balancer-labs/v2-pool-stable/=lib/balancer-v2-monorepo/pkg/pool-stable/",
"@chainlink/contracts/=lib/chainlink/contracts/",
"@uniswap/v3-periphery/=lib/v3-periphery/",
"@uniswap/v3-core/=lib/v3-core/",
"forge-safe/=lib/forge-safe/src/"]
fs_permissions = [{ access = "read-write", path = "./"}]
optimizer = true
optimizer_runs = 300
no_match_contract = "Echidna"
no_match_path = "script/**/*.sol"
gas_reports = ["IonHandler", "IonRegistry", "TransparentUpgradeableProxy", "IonPool", "WstEthHandler", "EthXHandler", "SwEthHandler", "GemJoin", "InterestRate", "Whitelist", "WeEthHandler"]
evm_version = "shanghai"
[profile.default.fuzz]
runs = 10000
max_test_rejects = 655360
[profile.default.invariant]
runs = 20
depth = 100
fail_on_revert = true
call_override = false # reentrancy-check
preserve_state = true
[profile.ci.fuzz]
runs = 10
[profile.ci.invariant]
runs = 10
depth = 5
[fmt]
bracket_spacing = true
int_types = "long"
line_length = 120
multiline_func_header = "all"
number_underscore = "thousands"
quote_style = "double"
tab_width = 4
wrap_comments = true
[rpc_endpoints]
goerli = "${GOERLI_RPC_URL}"
sepolia = "${SEPOLIA_RPC_URL}"
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options