-
Notifications
You must be signed in to change notification settings - Fork 5
/
foundry.toml
35 lines (32 loc) · 1.14 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
[profile.default]
solc = '0.8.23'
evm_version = 'paris' # Required for L2s (Optimism, Arbitrum, etc.)
match_contract = "_Local" # Do not run fork tests
sizes = true
verbosity = 3 # display errors
optimizer_runs = 200
block_number = 14126430
block_timestamp = 1643802347
runs = 4096
libs = ["node_modules", "lib"]
build_info = false
extra_output = ['storageLayout']
fs_permissions = [{ access = "read-write", path = "./"}]
[rpc_endpoints]
ethereum ="${RPC_ETHEREUM_MAINNET}"
optimism = "${RPC_OPTIMISM_MAINNET}"
polygon = "${RPC_POLYGON_MUMBAI}"
arbitrum = "${RPC_ARBITRUM_MAINNET}"
base = "${RPC_BASE_MAINET}"
arbitrum_sepolia = "${RPC_ARBITRUM_SEPOLIA}"
ethereum_sepolia ="${RPC_ETHEREUM_SEPOLIA}"
optimism_sepolia = "${RPC_OPTIMISM_SEPOLIA}"
polygon_mumbai = "${RPC_POLYGON_MUMBAI}"
base_sepolia = "${RPC_BASE_SEPOLIA}"
[profile.fork] # run via FOUNDRY_PROFILE=fork foundry test
fs_permissions = [{ access = "read", path = "./deployments/mainnet" }] # Get the deployment addresses for forking
match_contract = "_Fork"
[fmt]
number_underscore = "thousands"
multiline_func_header = "all"
wrap_comments = true