-
Notifications
You must be signed in to change notification settings - Fork 0
/
foundry.toml
48 lines (42 loc) · 1.31 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
[profile.default]
src = 'src'
out = 'out'
libs = ['lib']
solc = "0.8.18"
fs_permissions = [
{ access = "read-write", path = "./"},
{ access = "read-write", path = "./records/"},
{ access = "read", path = "./out/"},
{ access = "read-write", path = "./frontend/src/contracts/"},
]
# gas_reports = ["Contract_Name"]
ffi = true
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
[fmt]
# see prettier
[rpc_endpoints]
anvil = "http://localhost:8545/"
goerli = "https://ethereum-goerli-rpc.allthatnode.com"
sepolia = "https://eth-sepolia.g.alchemy.com/v2/${ALCHEMY_PROJECT_API_KEY}"
mainnet = "https://ethereum-mainnet-rpc.allthatnode.com"
polygon = "https://polygon-mainnet-rpc.allthatnode.com:8545"
mumbai = "https://polygon-mumbai.g.alchemy.com/v2/${ALCHEMY_POLYGON_MUMBAI}"
[etherscan]
mumbai = { key = "${POLYGONSCAN_API_KEY}" }
#mumbai = { key = "${POLYGONSCAN_API_KEY}", url = "https://api-testnet.polygonscan.com"}
sepolia = { key = "${ETHERSCAN_API_KEY}" }
[fuzz]
runs = 256
max_test_rejects = 65536
seed = '0x3e8'
dictionary_weight = 40
include_storage = true
include_push_bytes = true
[invariant]
runs = 256
depth = 15
fail_on_revert = false
call_override = false
dictionary_weight = 80
include_storage = true
include_push_bytes = true