forked from bnb-chain/bsc-genesis-contract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
foundry.toml
41 lines (37 loc) · 898 Bytes
/
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]
src = 'contracts'
test = 'test'
script = 'script'
out = 'out'
fs_permissions = [{ access = "read-write", path = "./out" }]
libs = ['lib', 'node_modules']
remappings = [
'ds-test/=lib/forge-std/lib/ds-test/src/',
'forge-std/=lib/forge-std/src/',
'openzeppelin-solidity/=node_modules/openzeppelin-solidity/',
]
cache = true
cache_path = 'cache'
auto_detect_solc = true
optimizer = true
optimizer_runs = 200
verbosity = 3
ignored_error_codes = [1878, 5574, 5667]
ffi = true
initial_balance = '0xffffffffffffffffffffffff'
[profile.default.rpc_storage_caching]
chains = 'all'
endpoints = 'all'
[fuzz]
runs = 1024
[fmt]
line_length = 240
tab_width = 2
bracket_spacing = false
int_types = 'long'
func_attrs_with_params_multiline = true
quote_style = 'double'
number_underscore = 'preserve'
[rpc_endpoints]
bsc = "${RPC_BSC}" # set by .env
local = "http://127.0.0.1:8545"