-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
42 lines (35 loc) · 1.28 KB
/
foundry.toml
File metadata and controls
42 lines (35 loc) · 1.28 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
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
solc_version = "0.8.23"
evm_version = "cancun"
optimizer = true
optimizer_runs = 1000000
via_ir = true
remappings = [
"@openzeppelin/=lib/openzeppelin-contracts/",
"@account-abstraction/=lib/account-abstraction/contracts/",
"forge-std/=lib/forge-std/src/",
"@erc7579/=lib/erc7579-implementation/src/",
"solady/=lib/solady/src/"
]
[rpc_endpoints]
sepolia = "${SEPOLIA_RPC_URL}"
base = "${BASE_RPC_URL}"
base-sepolia = "${BASE_SEPOLIA_RPC_URL}"
[etherscan]
sepolia = { key = "${ETHERSCAN_API_KEY}", url = "https://api-sepolia.etherscan.io/api" }
base = { key = "${ETHERSCAN_API_KEY}", url = "https://api.basescan.org/api" }
base-sepolia = { key = "${ETHERSCAN_API_KEY}", url = "https://api-sepolia.basescan.org/api" }
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
[fuzz]
runs = 1000 # Number of fuzz runs per test
max_test_rejects = 65536 # Max inputs rejected before stopping
dictionary_weight = 40 # Weight for dictionary-based fuzzing
[invariant]
runs = 256 # Invariant test runs
depth = 15 # Maximum call depth per run
fail_on_revert = false # Don't fail on reverts
[lint]
exclude_lints = ["unsafe-typecast"]