-
Notifications
You must be signed in to change notification settings - Fork 1
/
foundry.toml
44 lines (36 loc) · 1.38 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
[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"
# Try to make sure the optimizer doesn't touch the output in a way that can break
# source maps for debugging.
# via_ir = true
# optimizer = false
# optimizer_runs = 0
# optimizer_steps = 0
# These settings should be used for snapshots
optimizer = true
optimizer_runs = 1000000
bytecode_hash = "none"
cbor_metadata = false
fs_permissions = [
{ access = "read-write", path = "./meta" },
{ access = "read-write", path = "src/generated" },
{ access = "write", path = "./deployments/latest/RainterpreterParserNPE2" },
{ access = "write", path = "./deployments/latest/RainterpreterStoreNPE2" },
{ access = "write", path = "./deployments/latest/RainterpreterNPE2" },
{ access = "write", path = "./deployments/latest/RainterpreterExpressionDeployerNPE2" }
]
remappings = [
# The auto remapping wasn't appending /src/ for some reason.
"forge-std/=lib/rain.interpreter.interface/lib/forge-std/src/",
"rain.metadata/=lib/rain.metadata/src/",
"rain.sol.codegen/=lib/rain.sol.codegen/src/",
"rain.solmem/=lib/rain.interpreter.interface/lib/rain.solmem/src/",
"openzeppelin-contracts/=lib/rain.interpreter.interface/lib/openzeppelin-contracts/",
"rain.math.float/=lib/rain.math.float/src/",
]
[fuzz]
runs = 2048