-
Notifications
You must be signed in to change notification settings - Fork 4
/
foundry.toml
58 lines (54 loc) · 1.38 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
56
57
58
[profile.default]
solc_version = '0.8.24'
# The source directory
src = 'contracts'
# The artifact directory
out = 'out'
# A list of paths to look for libraries in
libs = ['node_modules', 'lib']
# The test directory
test = 'test'
# Whether to cache builds or not
cache = true
# The cache directory if enabled
cache_path = 'forge-cache'
# Import statement remappings
remappings = [
'aave/=lib/aave-v3-origin/src/core/contracts',
'aerodrome/=lib/aerodrome/contracts',
'forge-std/=lib/forge-std/src',
'morpho-blue/=lib/morpho-blue',
'nomad/=lib/ExcessivelySafeCall/src',
'openzeppelin/=lib/openzeppelin-contracts/contracts',
'solmate/=lib/solmate/src',
'etherfi/=lib/smart-contracts',
'createx/=lib/createx/src',
]
# gas limit - max u64
gas_limit = "18446744073709551615"
# allows the ffi to be used
ffi = true
# the evm version
evm_version = "cancun"
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
[profile.production]
# strict warnings
deny_warnings = true
# optimizer settings
optimizer = true
optimizer_runs = 13000
via_ir = false
# Enable gas-reporting for all contracts
gas_reports = ["*"]
evm_version = "cancun"
verbosity = 4
[profile.lite]
optimizer = false
via_ir = false
[fuzz]
runs = 1000
[rpc_endpoints]
mainnet = "${MAINNET_RPC_URL}"
gnosis = "${GNOSIS_RPC_URL}"
sepolia = "${SEPOLIA_RPC_URL}"
optimism_sepolia = "${OPTIMISM_SEPOLIA_RPC_URL}"