-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfoundry.toml
More file actions
111 lines (103 loc) · 4.01 KB
/
foundry.toml
File metadata and controls
111 lines (103 loc) · 4.01 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# Full reference https://github.com/foundry-rs/foundry/tree/master/crates/config
[profile.default]
cache_path = "cache"
auto_detect_solc = false
bytecode_hash = "none"
fuzz = { runs = 10 }
gas_reports = ["*"]
optimizer = true
optimizer_runs = 200
out = "out"
script = "script"
solc = "0.8.30"
src = "src"
test = "test"
cbor_metadata = true
libs = ['lib']
ffi = true
fs_permissions = [{ access = "read-write", path = "./" }]
remappings = [
"@superform-v2-core/=lib/v2-core/",
"@openzeppelin/contracts/=lib/v2-core/lib/openzeppelin-contracts/contracts/",
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"@chimera/=lib/setup-helpers/lib/chimera/src/",
"@recon/=lib/setup-helpers/src/",
"excessivelySafeCall/=lib/v2-core/lib/ExcessivelySafeCall/src/",
"modulekit/=lib/v2-core/lib/modulekit/src/",
"@prb/math/=lib/v2-core/lib/modulekit/node_modules/@prb/math/src/",
"@solady/=lib/v2-core/lib/solady/",
"@account-abstraction/=lib/v2-core/lib/modulekit/node_modules/account-abstraction/contracts/",
"@ERC4337/=lib/v2-core/lib/modulekit/node_modules/@ERC4337/",
"@pigeon/=lib/v2-core/lib/pigeon/src/",
"@surl/=lib/v2-core/lib/surl/src/",
"@stringutils/=lib/v2-core/lib/solidity-stringutils/src/",
"@pendle/=lib/v2-core/lib/pendle-core-v2-public/contracts/",
"@safe/=lib/v2-core/lib/safe-smart-account/contracts/",
"@safe7579/=lib/v2-core/lib/safe7579/src/",
"@nexus/=lib/v2-core/lib/nexus/contracts/",
"@properties-7540/=lib/erc7540-reusable-properties/src/",
"sentinellist/=lib/v2-core/lib/nexus/node_modules/sentinellist/src/",
"solady/=lib/v2-core/lib/solady/src/",
"solarray/=lib/v2-core/lib/nexus/node_modules/solarray/src/",
"account-abstraction/=lib/v2-core/lib/modulekit/node_modules/@ERC4337/account-abstraction/contracts/",
"account-abstraction-v0.6/=lib/v2-core/lib/modulekit/node_modules/@ERC4337/account-abstraction-v0.6/contracts/",
"excessively-safe-call/=lib/v2-core/lib/ExcessivelySafeCall/src/",
"composability/=lib/v2-core/lib/nexus/node_modules/@biconomy/composability/contracts/",
"erc7739Validator/=lib/v2-core/lib/nexus/node_modules/erc7739-validator-base/src/",
"test/mock_fiattoken/=lib/v2-core/lib/evm-gateway-contracts/test/mock_fiattoken/",
"@rhinestone/erc4337-validation/=lib/v2-core/lib/modulekit/node_modules/@rhinestone/erc4337-validation/",
"erc4337-validation/=lib/v2-core/lib/modulekit/node_modules/@rhinestone/erc4337-validation/src/",
"forge-std/=lib/forge-std/src/",
"halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/",
"@layerzerolabs/oft-evm/=lib/devtools/packages/oft-evm/",
"@layerzerolabs/oapp-evm/=lib/devtools/packages/oapp-evm/",
"@layerzerolabs/lz-evm-protocol-v2/=lib/LayerZero-v2/packages/layerzero-v2/evm/protocol/",
"@layerzerolabs/lz-evm-messagelib-v2/=lib/LayerZero-v2/packages/layerzero-v2/evm/messagelib/",
"solidity-bytes-utils/=lib/solidity-bytes-utils/"
]
dynamic_test_linking = true
gas_limit = "18446744073709551615"
gas_snapshot_emit= false # Added due to tests in test_extraGas in PaymasterPoC.t.sol
evm_version = "prague"
[profile.ci-sizes]
script = "src"
src = "src"
test = "src"
[profile.coverage]
script = "src"
src = "src"
test = "test"
gas_limit = "18446744073709551615"
[profile.ci]
fuzz = { runs = 10_000 }
verbosity = 4
[fmt]
bracket_spacing = true
int_types = "long"
line_length = 120
multiline_func_header = "all"
number_underscore = "thousands"
quote_style = "double"
tab_width = 4
wrap_comments = true
[etherscan]
11155111 = { key = "${ETHERSCANV2_API_KEY_TEST}" }
11155420 = { key = "${ETHERSCANV2_API_KEY_TEST}" }
84532 = { key = "${ETHERSCANV2_API_KEY_TEST}" }
[lint]
lint_on_build = true
exclude_lints = ["mixed-case-function", "mixed-case-variable", "pascal-case-struct", "asm-keccak256"]
ignore = [
"script/**",
"script/**/*.sol",
"src/vendor/**",
"src/vendor/**/*.sol",
"./src/vendor/**",
"**/vendor/**",
"lib/evm-gateway-contracts/**",
"./lib/evm-gateway-contracts/**",
"test/**",
"test/**/*.sol",
"./test/**",
"**/test/**"
]