-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathfoundry.toml
More file actions
35 lines (31 loc) · 916 Bytes
/
foundry.toml
File metadata and controls
35 lines (31 loc) · 916 Bytes
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
[profile.default]
evm_version = "prague"
solc_version = "0.8.29"
sort_imports = true
via_ir = true
optimizer = true
optimizer_runs = 200
remappings=[
"openzeppelin-contracts/=lib/openzeppelin-contracts/contracts",
"openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts",
"solady/=lib/solady/src/"
]
[profile.production]
optimizer = true
optimizer_runs = 100000
# Generate skimmable test docs with command: make docs-test
[profile.testdocs]
src = "test"
[lint]
lint_on_build = false
exclude_lints = [
"mixed-case-variable", # *URI variable names
"mixed-case-function", # *URI function names
"asm-keccak256", # EIP-712 hashing
"erc20-unchecked-transfer", # Warning on ERC-721 transferFrom
"unused-import" # BuilderCodesTest imports for purpose of dependent tests
]
[fmt]
sort_imports = true
wrap_comments = true
single_line_statement_blocks = "single"