-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfoundry.toml
More file actions
50 lines (44 loc) · 1.29 KB
/
foundry.toml
File metadata and controls
50 lines (44 loc) · 1.29 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
40
41
42
43
44
45
46
47
48
49
50
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
[profile.backtesting]
src = "src"
out = "out"
libs = ["lib"]
# Enable FFI for backtesting (required for external script execution)
ffi = true
# Increase gas limit for backtesting operations
gas_limit = 100000000
# Include test directory
test = "test"
[profile.assertions-book]
src = "examples/assertions-book/assertions/src"
test = "examples/assertions-book/test"
out = "examples/assertions-book/out"
cache_path = "examples/assertions-book/cache"
libs = ["lib"]
remappings = [
"credible-std/=src/",
"forge-std/=lib/forge-std/src/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/"
]
[profile.vault-demo]
src = "examples/vault_demo/src"
test = "examples/vault_demo/test"
out = "examples/vault_demo/out"
cache_path = "examples/vault_demo/cache"
libs = ["lib"]
[profile.micro-patterns]
src = "examples/micro-patterns/src"
test = "examples/micro-patterns/test"
out = "examples/micro-patterns/out"
cache_path = "examples/micro-patterns/cache"
remappings = [
"credible-std/=src/"
]
[doc]
title = "Credible Standard Library"
repository = "https://github.com/phylaxsystems/credible-std"
ignore = ["test/**", "lib/**", "examples/**"]
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options