-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
55 lines (50 loc) · 1.36 KB
/
foundry.toml
File metadata and controls
55 lines (50 loc) · 1.36 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
# 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/",
"openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/",
"@src/=src/",
"@test/=test/",
]
ffi = true
ast = true
build_info = true
optimizer-runs = 1
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 = 1
[profile.ci]
src = 'src'
out = 'out'
libs = ['lib']
solc = "0.8.19"
# ffi = true
optimizer-runs = 1
[rpc_endpoints]
goerli = "https://ethereum-goerli.publicnode.com"
base = "${ETH_RPC_URL}"
# See .env for mainnet network
[etherscan]
base = { key = "${ETHERSCAN_API_KEY}", url = "${VERIFIER_URL}" }
[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