-
Notifications
You must be signed in to change notification settings - Fork 261
Expand file tree
/
Copy pathfoundry.toml
More file actions
56 lines (51 loc) · 1.38 KB
/
foundry.toml
File metadata and controls
56 lines (51 loc) · 1.38 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[profile.default]
root = '../..'
src = 'packages/ethereum-contracts/contracts'
test = 'packages/ethereum-contracts/test/foundry'
solc_version = "0.8.30"
#deny_warnings = true
ignored_error_codes = [
1699 # assembly { selfdestruct } in contracts/mocks/SuperfluidDestructorMock.sol
]
# keep in sync with truffle-config.js
evm_version = 'cancun'
optimizer = true
optimizer_runs = 200
remappings = [
'@superfluid-finance/ethereum-contracts/contracts/=packages/ethereum-contracts/contracts/',
'@superfluid-finance/solidity-semantic-money/src/=packages/solidity-semantic-money/src/',
'@openzeppelin-v5/=lib/openzeppelin-contracts/',
'aave-v3=lib/aave-v3/',
'ds-test/=lib/forge-std/lib/ds-test/src/',
'forge-std/=lib/forge-std/src/']
out = 'packages/ethereum-contracts/build/foundry/default'
[invariant]
runs = 2000
depth = 10
fail_on_revert = false
[fmt]
bracket_spacing = true
tab_width = 4
line_length = 120
int_types = "preserve"
quote_style = "double"
wrap_comments = true
[profile.ci]
offline = true
verbosity = 2
[profile.ci.fuzz]
runs = 1000
[lint]
exclude_lints = [
"asm-keccak256",
"erc20-unchecked-transfer",
"mixed-case-variable",
"unused-import",
"mixed-case-function",
"divide-before-multiply",
"unaliased-plain-import",
"screaming-snake-case-const",
"screaming-snake-case-immutable",
"pascal-case-struct",
"incorrect-shift",
]