forked from gretzke/foundry-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
foundry.toml
88 lines (79 loc) · 3.02 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
optimizer = true
optimizer_runs = 999999
via_ir = false
solc = "0.8.26"
verbosity = 2
ffi = true
fs_permissions = [
{ access = "read-write", path = ".forge-snapshots"},
{ access = "read", path = "script/" }
]
remappings = [
"forge-std=lib/forge-std/src",
"@openzeppelin/contracts=lib/openzeppelin-contracts/contracts",
"@openzeppelin/contracts-upgradeable=lib/openzeppelin-contracts-upgradeable/contracts"
]
[profile.default.fuzz]
runs = 1000
[profile.pr.fuzz]
runs = 10000
[profile.ci.fuzz]
runs = 100000
[profile.debug]
via_ir = false
optimizer_runs = 200
fuzz.runs = 100
[fmt]
line_length = 120
tab_width = 4
quote_style = "single"
sort_imports = true
number_underscore = "thousands"
[rpc_endpoints]
anvil = "http://127.0.0.1:8545"
mainnet = "https://mainnet.infura.io/v3/${INFURA_KEY}"
sepolia = "https://sepolia.infura.io/v3/${INFURA_KEY}"
linea = "https://linea-mainnet.infura.io/v3/${INFURA_KEY}"
linea_sepolia = "https://linea-sepolia.infura.io/v3/${INFURA_KEY}"
polygon_pos = "https://polygon-mainnet.infura.io/v3/${INFURA_KEY}"
polygon_amoy = "https://polygon-amoy.infura.io/v3/${INFURA_KEY}"
blast = "https://blast-mainnet.infura.io/v3/${INFURA_KEY}"
blast_sepolia = "https://blast-sepolia.infura.io/v3/${INFURA_KEY}"
optimism = "https://optimism-mainnet.infura.io/v3/${INFURA_KEY}"
optimism_sepolia = "https://optimism-sepolia.infura.io/v3/${INFURA_KEY}"
arbitrum = "https://arbitrum-mainnet.infura.io/v3/${INFURA_KEY}"
arbitrum_sepolia = "https://arbitrum-sepolia.infura.io/v3/${INFURA_KEY}"
celo = "https://celo-mainnet.infura.io/v3/${INFURA_KEY}"
celo_alfajores = "https://celo-alfajores.infura.io/v3/${INFURA_KEY}"
zksync = "https://zksync-mainnet.infura.io/v3/${INFURA_KEY}"
zksync_sepolia = "https://zksync-sepolia.infura.io/v3/${INFURA_KEY}"
mantle = "https://mantle-mainnet.infura.io/v3/${INFURA_KEY}"
mantle_sepolia = "https://mantle-sepolia.infura.io/v3/${INFURA_KEY}"
polygon_zkevm = "https://zkevm-rpc.com"
polygon_zkevm_testnet = "https://rpc.public.zkevm-test.net"
[etherscan]
sepolia = { key = "${ETHERSCAN_API_KEY}" }
mainnet = { key = "${ETHERSCAN_API_KEY}" }
linea = { key = "${ETHERSCAN_API_KEY}" }
linea_sepolia = { key = "${ETHERSCAN_API_KEY}" }
polygon_pos = { key = "${ETHERSCAN_API_KEY}" }
polygon_amoy = { key = "${ETHERSCAN_API_KEY}" }
blast = { key = "${ETHERSCAN_API_KEY}" }
blast_sepolia = { key = "${ETHERSCAN_API_KEY}" }
optimism = { key = "${ETHERSCAN_API_KEY}" }
optimism_sepolia = { key = "${ETHERSCAN_API_KEY}" }
arbitrum = { key = "${ETHERSCAN_API_KEY}" }
arbitrum_sepolia = { key = "${ETHERSCAN_API_KEY}" }
celo = { key = "${ETHERSCAN_API_KEY}" }
celo_alfajores = { key = "${ETHERSCAN_API_KEY}" }
zksync = { key = "${ETHERSCAN_API_KEY}" }
zksync_sepolia = { key = "${ETHERSCAN_API_KEY}" }
mantle = { key = "${ETHERSCAN_API_KEY}" }
mantle_sepolia = { key = "${ETHERSCAN_API_KEY}" }
polygon_zkevm = { key = "${ETHERSCAN_API_KEY}" }
polygon_zkevm_testnet = { key = "${ETHERSCAN_API_KEY}" }
# See more config options https://github.com/foundry-rs/foundry/tree/master/config