-
Notifications
You must be signed in to change notification settings - Fork 504
/
foundry.toml
42 lines (35 loc) · 1.12 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
[profile.default]
out = 'foundry-out'
solc_version = '0.8.26'
optimizer_runs = 44444444
via_ir = true
ffi = true
fs_permissions = [{ access = "read-write", path = ".forge-snapshots/" }, { access = "read", path = "foundry-out/" }]
evm_version = "cancun"
gas_limit = "3000000000"
fuzz_runs = 10_000
bytecode_hash = "none"
additional_compiler_profiles = [
{ name = "posm", via_ir = true, optimizer_runs = 30000 },
{ name = "descriptor", via_ir = true, optimizer_runs = 1 },
{ name = "test", via_ir = false }
]
compilation_restrictions = [
{ paths = "src/PositionManager.sol", optimizer_runs = 30000 },
{ paths = "src/PositionDescriptor.sol", optimizer_runs = 1 },
{ paths = "test/**", via_ir = false }
]
[profile.debug]
via_ir = false
optimizer_runs = 200
fuzz.runs = 100
[profile.ci]
fuzz_runs = 100_000
[profile.gas]
gas_limit=30_000_000
[rpc_endpoints]
sepolia = "https://rpc.sepolia.org"
unichain_sepolia = "https://sepolia.unichain.org"
base_sepolia = "https://sepolia.base.org"
arbitrum_sepolia = "https://sepolia-rollup.arbitrum.io/rpc"
# See more config options https://github.com/foundry-rs/foundry/tree/master/config