-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
50 lines (46 loc) · 1.22 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
44
45
46
47
48
49
50
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options[profile.default]
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
solc = "0.8.21"
remappings = [
# "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"forge-std/=lib/forge-std/src/",
"@openzeppelin/contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/",
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"@src/=src/",
"@test/=test/",
]
ffi = true
ast = true
build_info = true
optimizer-runs = 10_000_000
extra_output = ["storageLayout"]
[profile.production]
src = 'src'
out = 'out'
libs = ['lib']
solc = "0.8.21"
# eth-rpc-url = "https://eth-mainnet.g.alchemy.com/v2/"
optimizer-runs = 10_000_000
[profile.ci]
src = 'src'
out = 'out'
libs = ['lib']
solc = "0.8.19"
# ffi = true
optimizer-runs = 10_000_000
[rpc_endpoints]
goerli = "https://ethereum-goerli.publicnode.com"
# See .env for mainnet network
[fmt]
line_length = 80
# line_length = 250
bracket_spacing = true
int_types = "long"
multiline_func_header = "all"
number_underscore = "thousands"
quote_style = "double"
tab_width = 4
wrap_comments = true