-
Notifications
You must be signed in to change notification settings - Fork 5
/
foundry.toml
47 lines (39 loc) · 1.86 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
[profile.default]
src = 'src'
out = 'out'
libs = ['lib']
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
solc = "0.8.25"
# optimizer settings for debugging
# via_ir = false
# optimizer = false
# optimizer_runs = 0
# optimizer_steps = 0
# optimizer settings for snapshotting.
optimizer = true
optimizer_runs = 1000000
bytecode_hash = "none"
cbor_metadata = false
# Build metadata used for testing rain meta aware contracts in this folder rather
# than expose ffi to forge.
fs_permissions = [
{ access = "read", path = "./meta"}, {access = "read", path = "./lib/rain.interpreter/meta/RainterpreterExpressionDeployerNPE2.rain.meta"},
{ access = "read", path = "./lib/rain.interpreter/deployments/latest/RainterpreterParserNPE2" },
{ access = "read", path = "./lib/rain.interpreter/deployments/latest/RainterpreterStoreNPE2" },
{ access = "read", path = "./lib/rain.interpreter/deployments/latest/RainterpreterNPE2" },
{ access = "read", path = "./lib/rain.interpreter/deployments/latest/RainterpreterExpressionDeployerNPE2" },
{ access = "read-write", path = "./meta/OrderBookSubParserAuthoringMeta.rain.meta"},
{ access = "read-write", path = "src/generated" },
]
remappings = [
"forge-std/=lib/rain.interpreter/lib/rain.interpreter.interface/lib/forge-std/src/",
"openzeppelin-contracts/=lib/rain.orderbook.interface/lib/rain.interpreter.interface/lib/openzeppelin-contracts/",
"rain.interpreter/=lib/rain.interpreter/src/",
"rain.metadata/=lib/rain.interpreter/lib/rain.metadata/src/",
"rain.interpreter.interface/=lib/rain.orderbook.interface/lib/rain.interpreter.interface/src/",
"rain.intorastring/=lib/rain.interpreter/lib/rain.intorastring/",
"rain.sol.codegen/=lib/rain.interpreter/lib/rain.sol.codegen/src/",
"rain.solmem/=lib/rain.orderbook.interface/lib/rain.interpreter.interface/lib/rain.solmem/src",
]
[fuzz]
runs = 5096