forked from bnb-chain/bsc-genesis-contract
-
Notifications
You must be signed in to change notification settings - Fork 1
/
foundry.toml
42 lines (38 loc) · 894 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
42
[profile.default]
src = 'contracts'
test = 'test'
script = 'foundry-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/',
]
cache = true
cache_path = 'cache'
auto_detect_solc = true
optimizer = true
optimizer_runs = 200
verbosity = 3
ignored_error_codes = [1878, 5574]
ffi = true
initial_balance = '0xffffffffffffffffffffffff'
bytecode_hash = 'none'
[profile.default.rpc_storage_caching]
chains = 'all'
endpoints = 'all'
[fuzz]
runs = 512
[fmt]
line_length = 120
tab_width = 4
bracket_spacing = true
int_types = 'long'
func_attrs_with_params_multiline = true
quote_style = 'double'
number_underscore = 'preserve'
multiline_func_header = 'params_first'
[rpc_endpoints]
bsc = "${RPC_BSC}" # set by .env
local = "http://127.0.0.1:8545"