-
Notifications
You must be signed in to change notification settings - Fork 25
/
foundry.toml
42 lines (39 loc) · 1.28 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
[profile.default]
src = 'src'
out = 'out'
script = 'script'
libs = ['lib']
solc_version = '0.8.16'
optimizer = true
optimizer_runs = 200
unchecked_cheatcode_artifacts = true
fs_permissions = [
{ access = "read", path = "./out/" },
{ access = "read", path = "./script/input/" },
{ access = "read-write", path = "./script/output/" }
]
[invariant]
fail_on_revert = true
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
[profile.0_6_x]
# `src` must be different fot it to work.
# We also recommend putting all Solidity test files and scripts inside `src*/`.
src = 'src-0_6_x'
out = 'out'
script = 'script-0_6_x'
# The order matters! When using `forge install` with FOUNDRY_PROFILE=0_6_x,
# it will use the first directory as the installation path.
# If the library is compatible with all versions,
# you can install it with the default profile.
libs = ['lib-0_6_x', 'lib']
solc_version = '0.6.12'
optimizer = true
optimizer_runs = 200
unchecked_cheatcode_artifacts = true
fs_permissions = [
{ access = "read", path = "./out/" },
{ access = "read", path = "./script/input/" },
{ access = "read-write", path = "./script/output/" }
]
[etherscan]
unknown_chain = { key = "${TENDERLY_ACCESS_KEY}", chain = 314311, url = "${ETH_RPC_URL}/verify/etherscan" }