-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathfoundry.toml
More file actions
39 lines (34 loc) · 800 Bytes
/
foundry.toml
File metadata and controls
39 lines (34 loc) · 800 Bytes
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
[profile.default]
sender = "0x465d5a3fFeA4CD109043499Fa576c3E16f918463"
tx_origin = "0x465d5a3fFeA4CD109043499Fa576c3E16f918463"
src = 'contracts'
out = 'out'
libs = [
'node_modules',
'lib'
]
test = 'test'
solc_version = '0.8.17'
optimizer = true
optimizer_runs = 200
via_ir = false
gas_reports = [ '*' ]
fs_permissions = [ { access = "read", path = "./contracts.json" } ]
[profile.production]
via_ir = true
optimizer_runs = 18_325
[profile.test]
via_ir = false
optimizer_runs = 0
optimizer = false
sparse_mode = true
[rpc_endpoints]
amoy = "${AMOY_RPC_URL}"
mainnet = "${ETHEREUM_RPC_URL}"
goerli = "${GOERLI_RPC_URL}"
polygon = "${POLYGON_RPC_URL}"
[invariant]
runs = 400
depth = 15
fail_on_revert = false
# See more config options https://github.com/foundry-rs/foundry/tree/master/config