forked from bob-collective/bob
-
Notifications
You must be signed in to change notification settings - Fork 0
/
foundry.toml
30 lines (25 loc) · 811 Bytes
/
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
[profile.default]
fs_permissions = [{ access = "read", path = "./optimized-out" }]
src = "src"
out = "out"
libs = ["lib"]
script = "script"
test = "test"
optimizer = true
optimizer_runs = 5_000
# solc = "0.8.17"
auto_detect_solc = true
# Compile only the production code with IR
[profile.optimized]
out = "optimized-out"
test = "src"
# `viaIR` flag needs to enabled since `Lightrelay.t.sol` requires it
via_ir = true
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
remappings = [
"@bob-collective/bitcoin-spv/=lib/bitcoin-spv/src/",
"ds-test/=lib/forge-std/lib/ds-test/src/",
"forge-std/=lib/forge-std/src/",
"@openzeppelin/=lib/openzeppelin-contracts/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
]