forked from smartcontractkit/chainlink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
foundry.toml
56 lines (46 loc) · 1.31 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
48
49
50
51
52
53
54
55
56
[profile.default]
auto_detect_solc = true
optimizer = true
optimizer_runs = 1_000_000
src = 'src/v0.8'
test = 'test/v0.8/foundry'
out = 'foundry-artifacts'
cache_path = 'foundry-cache'
libs = ['node_modules', 'foundry-lib']
bytecode_hash = "none"
ffi = false
# default is zero, using a non-zero amount enables us to test e.g. billing based on gas prices.
gas_price = 1
block_timestamp = 1234567890
block_number = 12345
[profile.functions]
solc_version = '0.8.19'
src = 'src/v0.8/functions'
test = 'src/v0.8/functions/tests'
[profile.vrf]
optimizer_runs = 1000
src = 'src/v0.8/vrf'
test = 'test/v0.8/foundry/vrf' # skips tests for no VRF foundry tests
solc_version = '0.8.6'
[profile.automation]
optimizer_runs = 10000
src = 'src/v0.8/automation'
test = 'src/v0.8/automation/test'
solc_version = '0.8.6'
[profile.automation-dev]
optimizer_runs = 10000
src = 'src/v0.8/dev/automation'
test = 'src/v0.8/dev/automation/test'
[profile.llo-feeds]
optimizer_runs = 1000000
src = 'src/v0.8/llo-feeds'
test = 'src/v0.8/llo-feeds/test'
solc_version = '0.8.16'
# We cannot turn on deny_warnings = true as that will
# hide any CI failure
[profile.shared]
optimizer_runs = 1000000
src = 'src/v0.8/shared'
test = 'src/v0.8/shared/test'
solc_version = '0.8.19'
# See more config options https://github.com/foundry-rs/foundry/tree/master/config