-
Notifications
You must be signed in to change notification settings - Fork 1
/
foundry.toml
41 lines (39 loc) · 1.3 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
[profile.default]
evm_version = "cancun"
src = "src"
out = "out"
libs = ["lib"]
fs_permissions = [{ access = "read-write", path = "./" }]
solc_version = "0.8.23"
optimizer = true
optimizer_runs = 200
remappings = [
'@openzeppelin/=lib/openzeppelin-contracts/',
'@openzeppelin-upgradeable/=lib/openzeppelin-contracts-upgradeable/',
'ds-test/=lib/forge-std/lib/ds-test/src/',
'erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/',
'forge-std/=lib/forge-std/src/',
'@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/',
'openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/',
'openzeppelin-contracts/=lib/openzeppelin-contracts/',
'@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/',
'openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/',
'solidity-stringutils/=lib/openzeppelin-foundry-upgrades/lib/solidity-stringutils/',
]
deny_warnings = true
ignored_warnings_from = [
"lib/openzeppelin-contracts-upgradeable/contracts/token/ERC721/ERC721Upgradeable.sol",
]
ffi = true
ast = true
build_info = true
extra_output = ["storageLayout"]
[fmt]
line_length = 120
multiline_func_header = 'all'
bracket_spacing = true
wrap_comments = true
[invariant]
runs = 50
depth = 50
fail_on_revert = false