-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
39 lines (34 loc) · 1.01 KB
/
foundry.toml
File metadata and controls
39 lines (34 loc) · 1.01 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
[profile.default]
solc = "0.8.23"
src = "src"
out = "out"
libs = ["lib"]
fs_permissions = [{ access = "read-write", path = "./" }]
optimizer = true
optimizer_runs = 200
optimizer_details = { yul = true }
# TODO: Add via_ir = true and solve issues when building with it
## Needed by openzepplin upgrade plugin
ffi = true
ast = true
build_info = true
extra_output = ["storageLayout"]
[profile.test]
optimizer = false
fuzz = true
runs = 1000
# TODO configure this profile and use it in CI.
# [profile.ci]
[doc]
out = "docs/soldoc"
title = "RLC Multichain Bridge"
ignore = ["src/mocks/**/*"]
# TODO use vm.rpcUrl("arbitrumSepolia") instead of env variable.
# https://getfoundry.sh/config/reference/testing#rpc_endpoints
# https://getfoundry.sh/reference/cheatcodes/rpc
# https://github.com/foundry-rs/forge-std/blob/ff4bf7db008d096ea5a657f2c20516182252a3ed/src/StdCheats.sol#L255-L271
# [rpc_endpoints]
# mainnet = "${RPC}"
# sepolia = "${SEPOLIA_RPC_URL}"
# arbitrum_one = "${RPC}"
# arbitrum_sepolia = "${ARBITRUM_SEPOLIA_RPC_URL}"