-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
38 lines (31 loc) · 932 Bytes
/
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
[profile.default]
# Compilation
optimizer = true
optimizer_runs = 100
solc_version = "0.8.19"
evm_version = "cancun"
# via_ir = true
# Testing
block_timestamp = 2592000 # as to be greater than epochFixTimeout
chain_id = 99
gas_reports = ["*"]
libs = ["node_modules", "lib"]
sender = '0xf000000000000000000000000000000000000000'
tx_origin = '0xf000000000000000000000000000000000000000'
verbosity = 3
[profile.ci.fuzz]
runs = 5000
[profile.default.fuzz]
runs = 100
[profile.default.invariant]
call_override = false # Override calls
depth = 100 # The number of times to run the invariant tests
fail_on_revert = true # Fail the test if the contract reverts
runs = 100 # The number of calls to make in the invariant tests
[profile.default.fmt]
int_types = "preserve"
number_underscore = "preserve"
[profile.default.rpc_endpoints]
mainnet = "${MAINNET_RPC_URL}"
scroll = "${SCROLL_RPC_URL}"
tenderly = "${TENDERLY_FORK_URL}"