-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfoundry.toml
More file actions
executable file
·42 lines (39 loc) · 1.31 KB
/
foundry.toml
File metadata and controls
executable file
·42 lines (39 loc) · 1.31 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
[profile.default]
src = 'contracts'
out = 'forge-artifacts'
libs = ['node_modules', 'lib']
test = 'test'
cache_path = 'forge-cache'
allow_paths = ['../', '../../node_modules/']
ffi = true
fs_permissions = [
{ access = "read", path = "./artifacts/" },
{ access = "read-write", path = "./.forge-snapshots/"},
]
remappings = [
'forge-std/=node_modules/forge-std/src/',
'@openzeppelin/=node_modules/@openzeppelin/',
'permit2/=node_modules/permit2/',
'solady/=node_modules/solady/',
'@balancer-labs/v3-vault/=lib/balancer-v3-monorepo/pkg/vault/',
'@balancer-labs/v3-interfaces/=lib/balancer-v3-monorepo/pkg/interfaces/',
'@balancer-labs/v3-pool-utils/=lib/balancer-v3-monorepo/pkg/pool-utils/',
'@balancer-labs/v3-solidity-utils/=lib/balancer-v3-monorepo/pkg/solidity-utils/',
'@balancer-labs/v3-standalone-utils/=lib/balancer-v3-monorepo/pkg/standalone-utils/',
]
optimizer = true
optimizer_runs = 999
solc_version = '0.8.26'
auto_detect_solc = false
evm_version = 'cancun'
ignored_error_codes = [2394, 5574, 3860] # Transient storage, code size
[fuzz]
runs = 1000
max_test_rejects = 60000
[rpc_endpoints]
mainnet = "${MAINNET_RPC_URL}"
gnosis = "${GNOSIS_RPC_URL}"
sepolia = "${SEPOLIA_RPC_URL}"
sonic = "${SONIC_RPC_URL}"
base = "${BASE_RPC_URL}"
arbitrum = "${ARBITRUM_RPC_URL}"