-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
43 lines (42 loc) · 1.13 KB
/
foundry.toml
File metadata and controls
43 lines (42 loc) · 1.13 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
[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 = ['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 = [
'forge-std/=lib/forge-std/src',
'hyperdrive/=lib/hyperdrive',
'openzeppelin/=lib/openzeppelin-contracts/contracts',
'solady/=lib/solady/src',
'tokenized-strategy/=lib/tokenized-strategy/src',
'vault-periphery/=lib/vault-periphery/src',
'yearn-vaults-v3/=lib/yearn-vaults-v3/contracts',
]
# gas limit - max u64
gas_limit = "18446744073709551615"
# allows the ffi to be used
ffi = true
# strict warnings
deny_warnings = true
# optimizer settings
optimizer = true
optimizer_runs = 10000000 # 10 million runs
via_ir = false
# Enable gas-reporting for all contracts
gas_reports = ["*"]
evm_version = "cancun"
# Path-specific permissions
fs_permissions = [{ access = "read-write", path = "./deploy" }]
[rpc_endpoints]
mainnet = "${MAINNET_RPC_URL}"
sepolia = "${SEPOLIA_RPC_URL}"