-
Notifications
You must be signed in to change notification settings - Fork 3
/
foundry.toml
55 lines (46 loc) · 2.05 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
[profile.default]
via-ir = false
libs = ["lib"]
fs_permissions = [
{ access = "read", path = "./broadcast/DeployMorpho.sol/"},
{ access = "read", path = "./script/morpho/config/"},
{ access = "read", path = "./script/oracle-factory/config/"},
{ access = "read", path = "./script/bundlers/config/"},
{ access = "read", path = "./script/metamorpho-factory/config/"},
{ access = "read", path = "./script/urd-factory/config/"},
{ access = "read", path = "./script/public-allocator/config/"},
{ access = "write", path = "./script/morpho/verify.sh"},
{ access = "write", path = "./script/oracle-factory/verify.sh"},
{ access = "write", path = "./script/bundlers/verify.sh"},
{ access = "write", path = "./script/metamorpho-factory/verify.sh"},
{ access = "write", path = "./script/urd-factory/verify.sh"},
{ access = "write", path = "./script/public-allocator/verify.sh"},
{ access = "read", path = "./lib/morpho-blue/out/"},
{ access = "read", path = "./lib/morpho-blue-irm/out/"},
{ access = "read", path = "./lib/morpho-blue-oracles/out/"},
{ access = "read", path = "./lib/morpho-blue-bundlers/out/"},
{ access = "read", path = "./lib/metamorpho/out/"},
{ access = "read", path = "./lib/universal-rewards-distributor/out/"},
{ access = "read", path = "./lib/public-allocator/out/"}
]
[profile.default.fmt]
wrap_comments = true
[profile.default.rpc_endpoints]
custom = "${RPC_URL}"
ethereum = "https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY_ETHEREUM}"
goerli = "https://eth-goerli.g.alchemy.com/v2/${ALCHEMY_KEY_GOERLI}"
sepolia = "https://eth-sepolia.g.alchemy.com/v2/${ALCHEMY_KEY_SEPOLIA}"
base-sepolia = "https://base-sepolia.g.alchemy.com/v2/${ALCHEMY_KEY_BASE_SEPOLIA}"
base = "https://base-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY_BASE}"
[profile.build]
via-ir = true
test = "/dev/null"
script = "/dev/null"
[profile.test]
ffi = true
via-ir = false
[profile.script]
src = "/dev/null"
test = "/dev/null"
via-ir = true
# See more config options https://github.com/foundry-rs/foundry/tree/master/crates/config