-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathfoundry.toml
31 lines (26 loc) · 1 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
[profile.default]
src = "src"
out = "out"
test = "test"
libs = ["../lib"]
fs_permissions = [{ access = "read", path = "deployment.toml" }]
ffi = true # Allow use of the ffi cheatcode in tests.
# Compiler options
via_ir = true
evm_version = 'cancun'
optimizer_runs = 10000
solc_version = "0.8.26"
# Do not append metadata hash to bytecode. We do not currently use it, and omitting it results in
# more stable build artifacts, which is important since we check the bytecode into git.
# For information about Solidity metadata, see https://docs.soliditylang.org/en/latest/metadata.html
bytecode_hash = "none"
[fmt]
line_length = 120
tab_width = 4
quote_style = "double"
# Profile used to run deployment tests, which check the correctness of contracts as deployed.
# TIP: You can select this profile by setting env var FOUNDRY_PROFILE=deployment-test
[profile.deployment-test]
test = "./deployment-test"
#match_path = "contracts/deployment-test/*"
# See more config options https://book.getfoundry.sh/static/config.default.toml