-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
35 lines (32 loc) · 1.31 KB
/
Copy pathfoundry.toml
File metadata and controls
35 lines (32 loc) · 1.31 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
# The repository's one Foundry configuration.
#
# Native forge runs from any directory and covers every Solidity package under
# src/; narrow a run with --match-path 'src/examples/<name>/**'. There is no
# per-package foundry.toml (check-foundry-config rejects one).
#
# The Buck2 Solidity rules read this file too, so the settings below drive
# solidity_library and solidity_test as well as native forge.
#
# The compiler is not pinned here: the dev shell exports FOUNDRY_SOLC (the
# toolchain's solc) and FOUNDRY_OFFLINE=true, the same compiler and offline
# policy the Buck2 Solidity rules use.
[profile.default]
src = "src"
test = "src"
libs = [".turnkey/soldeps/vendor"]
out = "out"
auto_detect_remappings = false
optimizer = true
optimizer_runs = 200
[fuzz]
runs = 256
# Git dependencies, in Soldeer's table form: `version` (what fixup sets
# match on), `git`, and exactly one of `rev`, `tag` or `branch`. Turnkey
# never runs Soldeer; `tk sync` reads this table into solidity-deps.toml and
# the root remappings.txt. Only direct dependencies are followed.
#
# npm Solidity packages such as @openzeppelin/contracts come from
# package.json and pnpm-lock.yaml: a dependency counts when its tarball
# holds .sol files.
[dependencies]
forge-std = { version = "1.8.0", git = "https://github.com/foundry-rs/forge-std", tag = "v1.8.0" }