-
Notifications
You must be signed in to change notification settings - Fork 3
/
foundry.toml
75 lines (58 loc) · 1.78 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
[profile.default]
src = 'src'
out = 'out'
script = 'script'
optimizer = true
optimizer_runs = 200
ffi = true
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
solc = '0.8.23'
extra_output = ["devdoc", "userdoc", "storagelayout"]
fs_permissions = [{ access = "read-write", path = "./" }]
evm_version = 'shanghai'
verbosity = 4
use_literal_content = true
unchecked_cheatcode_artifacts = true
[profile.ronin]
evm_version = 'london'
[profile.ethereum]
evm_version = 'shanghai'
[profile.ronin_bridge_manager]
evm_version = 'london'
optimizer = true
optimizer_runs = 1
ffi = true
[fmt]
line_length = 160
tab_width = 2
bracket_spacing = true
int_types = 'preserve'
multiline_func_header = 'params_first'
[profile.local.fuzz]
runs = 10
[profile.default.fuzz]
runs = 256
[profile.intense.fuzz]
runs = 5_000
[profile.via-ir.fuzz]
runs = 1_000
[profile.min-solc]
solc_version = "0.8.4"
[profile.min-solc.fuzz]
runs = 1_000
[profile.min-solc-via-ir.fuzz]
runs = 1_000
[etherscan]
sepolia = { key = "${ETHERSCAN_API_KEY}", chain = 11155111, url = "https://api-sepolia.etherscan.io/api" }
[rpc_endpoints]
localhost = "http://localhost:8545"
ethereum = "https://mainnet.infura.io/v3/${INFURA_API_KEY}"
sepolia = "https://sepolia.infura.io/v3/${INFURA_API_KEY}"
goerli = "https://ethereum-goerli.publicnode.com"
ronin-mainnet = "https://api-archived.roninchain.com/rpc"
ronin-testnet = "https://saigon-archive.roninchain.com/rpc"
[dependencies]
"@fdk" = { version = "0.3.1-beta", url = "https://github.com/axieinfinity/foundry-deployment-kit/archive/refs/tags/v0.3.1-beta.zip" }
"@openzeppelin" = { version = "4.7.3", url = "https://github.com/OpenZeppelin/openzeppelin-contracts/archive/refs/tags/v4.7.3.zip" }
"@prb-math" = "4.0.3"
"@prb-test" = "0.6.5"