-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
67 lines (54 loc) · 1.95 KB
/
Copy pathfoundry.toml
File metadata and controls
67 lines (54 loc) · 1.95 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
56
57
58
59
60
61
62
63
64
65
66
67
[profile.default]
src = "src"
out = "out"
test = 'test'
cache_path = 'cache'
libs = ["lib"]
solc = "0.8.35"
optimizer = true
optimizer_runs = 200
via_ir = true
build_info = true
evm_version = "prague"
extra_output = ["storageLayout"]
dynamic_test_linking = false
ignored_error_codes = [6335, 2424, 4591]
ignored_warnings_from = ["lib/**"]
[profile.smoke.fuzz]
runs = 128
[profile.smoke.invariant]
runs = 64
depth = 100
[profile.ci.fuzz]
runs = 512
[profile.ci.invariant]
runs = 512
depth = 500
[profile.release.fuzz]
runs = 1024
[profile.release.invariant]
runs = 1024
depth = 500
[rpc_endpoints]
sepolia = "${ETHEREUM_SEPOLIA_RPC}"
bsc_testnet = "${BSC_TESTNET_RPC}"
base_sepolia = "${BASE_SEPOLIA_RPC}"
eth_mainnet = "${ETHEREUM_MAINNET_RPC}"
bsc_mainnet = "${BSC_MAINNET_RPC}"
base_mainnet = "${BASE_MAINNET_RPC}"
[etherscan]
bsc_testnet = { key = "${ETHEREUMSCAN_API_KEY}", chain = "97", url = "${ETHEREUMSCAN_API_URL}" }
base_sepolia = { key = "${ETHEREUMSCAN_API_KEY}", chain = "84532", url = "${ETHEREUMSCAN_API_URL}" }
sepolia = { key = "${ETHEREUMSCAN_API_KEY}", chain = "11155111", url = "${ETHEREUMSCAN_API_URL}" }
eth_mainnet = { key = "${ETHEREUMSCAN_API_KEY}", chain = "1", url = "${ETHEREUMSCAN_API_URL}" }
bsc_mainnet = { key = "${ETHEREUMSCAN_API_KEY}", chain = "56", url = "${ETHEREUMSCAN_API_URL}" }
base_mainnet = { key = "${ETHEREUMSCAN_API_KEY}", chain = "8453", url = "${ETHEREUMSCAN_API_URL}" }
[lint]
ignore = ["test/**/*", "script/**/*"]
severity = ["high", "med", "low"]
# All detectors are active; accepted findings — including formerly inline-suppressed
# sites — live in script/harness/forge-lint-baseline.json. Only NEW findings fail:
# script/harness/forge-serialize.sh checks after every wrapped build/compile, and the
# gate checks on changed-file runs. Unwrapped direct `forge build` prints the full
# lint report — use the wrapper.
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options