-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
43 lines (37 loc) · 1.24 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
42
43
[profile.default]
solc = "0.8.25"
via_ir = true
src = "src"
out = "out"
libs = ["lib"]
fs_permissions = [{ access = "read-write", path = "./" }]
gas_reports = ["*"]
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
remappings = [
'@openzeppelin/contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/',
'@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/',
'@symbiotic/=lib/core/src/',
'@symbiotic-rewards=lib/rewards/src/',
'@symbiotic-collateral=lib/collateral/src/',
'@tanssi-bridge-relayer/=lib/tanssi-bridge-relayer/',
# These are for snowbridge. Needs to emulate their remappings.
'openzeppelin-contracts/=lib/openzeppelin-contracts/',
'openzeppelin/=lib/openzeppelin-contracts/contracts/',
'prb/math/=lib/prb-math/',
]
[rpc_endpoints]
mainnet = "${ETH_RPC_URL}"
[fmt]
bracket_spacing = false
int_types = "long"
line_length = 120
multiline_func_header = "params_first"
number_underscore = "thousands"
quote_style = "double"
tab_width = 4
[fuzz]
runs = 4096
max_test_rejects = 262144
# [etherscan]
# mainnet = { key = "${ETHERSCAN_API_KEY}" }
# holesky = { key = "${ETHERSCAN_API_KEY}" }