-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
110 lines (90 loc) · 2.78 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[invariant]
[profile.default]
libs = [
'gitmodules',
'node_modules',
'silo-amm/node_modules'
]
out = 'cache/foundry/out'
evm_version = 'cancun'
gas_limit = '40000000000'
[profile.core]
src = 'silo-core/contracts'
out = 'cache/foundry/out/silo-core'
broadcast = 'silo-core/broadcast'
fs_permissions = [
{ access = "read", path = "./cache/foundry/"},
{ access = "read", path = "./silo-core/test/foundry/data/"},
{ access = "read", path = "./silo-core/deploy/input/"}
]
[profile.core-with-test]
src = 'silo-core/contracts'
test = 'silo-core/test/foundry'
out = 'cache/foundry/out/silo-core'
broadcast = 'silo-core/broadcast'
fs_permissions = [
{ access = "read", path = "./cache/foundry/"},
{ access = "read", path = "./silo-core/test/foundry/data/"},
{ access = "read", path = "./silo-core/deploy/input/"}
]
[profile.core-test]
src = 'silo-core/test'
out = 'cache/foundry/out/silo-core'
broadcast = 'silo-core/broadcast'
fs_permissions = [
{ access = "read", path = "./cache/foundry/"},
{ access = "read", path = "./silo-core/test/foundry/data/"},
{ access = "read", path = "./silo-core/deploy/input/"}
]
[profile.default.fmt]
line_length=119
[profile.ve-silo]
src = 've-silo/contracts'
out = 'cache/foundry/out/ve-silo'
broadcast = 've-silo/broadcast'
evm_version = 'paris'
[profile.ve-silo-test]
src = 've-silo/test'
out = 'cache/foundry/out/ve-silo'
broadcast = 've-silo/broadcast'
evm_version = 'paris'
[profile.vaults]
src = 'silo-vaults/contracts'
out = 'cache/foundry/out/silo-vaults'
broadcast = 'silo-core/broadcast'
fs_permissions = [
{ access = "read", path = "./cache/foundry/"},
{ access = "read", path = "./silo-core/test/foundry/data/"},
{ access = "read", path = "./silo-core/deploy/input/"}
]
[profile.vaults-tests]
src = 'silo-vaults/test/foundry'
out = 'cache/foundry/out/silo-vaults'
broadcast = 'silo-vaults/broadcast'
fs_permissions = [
{ access = "read", path = "./cache/foundry/"},
{ access = "read", path = "./silo-core/test/foundry/data/"},
{ access = "read", path = "./silo-core/deploy/input/"}
]
[profile.oracles]
src = 'silo-oracles/contracts'
out = 'cache/foundry/out/silo-oracles'
test = 'silo-oracles/test'
broadcast = 'silo-oracles/broadcast'
[profile.proposals]
src = 'proposals/contracts'
out = 'cache/foundry/out/proposals'
test = 'proposals/test'
broadcast = 'proposals/broadcast'
[fuzz]
max_test_rejects = 131072 # 65536 * 2 (doubled a default value)
[rpc_endpoints]
mainnet = "${RPC_MAINNET}"
sepolia = "${RPC_SEPOLIA}"
arbitrum_one = "${RPC_ARBITRUM}"
optimism = "${RPC_OPTIMISM}"
anvil = "${RPC_ANVIL}"
sonic = "${RPC_SONIC}"
[etherscan]
sonic = { key = "${VERIFIER_API_KEY_SONIC}", chain = 146, url = "${VERIFIER_URL_SONIC}" }
# See more config options https://github.com/foundry-rs/foundry/tree/master/config