-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfoundry.toml
More file actions
73 lines (56 loc) · 1.68 KB
/
foundry.toml
File metadata and controls
73 lines (56 loc) · 1.68 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
optimizer = true
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
# foundry.toml
solc_version = '0.8.26'
evm_version = "cancun"
optimizer_runs = 200
via_ir = true
ffi = true
[profile.ci]
verbosity = 4
[profile.test]
verbosity = 3
via_ir = true
[profile.dev]
via_ir = true
# Test category profiles using match patterns
[profile.core]
verbosity = 2
# Usage: FOUNDRY_PROFILE=core forge test --match-path "*core*" -vv
[profile.hook]
verbosity = 2
# Usage: FOUNDRY_PROFILE=hook forge test --match-path "*hook*" -vv
[profile.module]
verbosity = 2
# Usage: FOUNDRY_PROFILE=module forge test --match-path "*module*" -vv
[profile.dca]
verbosity = 2
# Usage: FOUNDRY_PROFILE=dca forge test --match-path "*DCA*" -vv
[profile.savings]
verbosity = 2
# Usage: FOUNDRY_PROFILE=savings forge test --match-path "*Savings*" -vv
[profile.infrastructure]
verbosity = 2
# Usage: FOUNDRY_PROFILE=infrastructure forge test --match-path "*{Deployment,ERC6909,Storage}*" -vv
[profile.security]
verbosity = 2
# Usage: FOUNDRY_PROFILE=security forge test --match-path "*{Reentrancy,Security,Batch}*" -vv
[profile.analytics]
verbosity = 2
# Usage: FOUNDRY_PROFILE=analytics forge test --match-path "*{Analytics,Quoter,Multicall,Liquidity}*" -vv
[profile.performance]
verbosity = 2
# Usage: FOUNDRY_PROFILE=performance forge test --match-path "*{Performance,Advanced}*" -vv
# Coverage analysis profile
[profile.coverage]
verbosity = 1
via_ir = false
optimizer = false
# Usage: FOUNDRY_PROFILE=coverage forge coverage
[rpc_endpoints]
base_sepolia = "https://sepolia.base.org"
base = "https://mainnet.base.org"