-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathfoundry.toml
79 lines (71 loc) · 2.09 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
76
77
78
79
[profile.default]
auto_detect_solc = false
block_timestamp = 1_714_518_000 # May 1, 2024 at 00:00 GMT
bytecode_hash = "none"
evm_version = "shanghai"
fs_permissions = [
{ access = "read", path = "./out-optimized" },
{ access = "read", path = "package.json"},
{ access = "read-write", path = "./benchmark/results"},
{ access = "read-write", path = "./cache" }
]
gas_limit = 9223372036854775807
gas_reports = [
"SablierV2BatchLockup",
"SablierV2MerkleLL",
"SablierV2MerkleLockupFactory",
"SablierV2MerkleLT",
]
optimizer = true
optimizer_runs = 10_000
out = "out"
script = "script"
sender = "0x1804c8AB1F12E6bbf3894d4083f33e07309d1f38"
solc = "0.8.26"
src = "src"
test = "test"
[profile.default.fuzz]
max_test_rejects = 1_000_000 # Number of times `vm.assume` can fail
runs = 20
# Run only the code inside benchmark directory
[profile.benchmark]
test = "benchmark"
# Speed up compilation and tests during development
[profile.lite]
optimizer = false
# Compile only the production code with IR
[profile.optimized]
out = "out-optimized"
test = "src"
via_ir = true
# Test the optimized contracts without re-compiling them
[profile.test-optimized]
src = "test"
[doc]
ignore = ["**/*.t.sol"]
out = "docs"
repository = "https://github.com/sablier-labs/v2-periphery"
[fmt]
bracket_spacing = true
int_types = "long"
line_length = 120
multiline_func_header = "all"
number_underscore = "thousands"
quote_style = "double"
tab_width = 4
wrap_comments = true
[rpc_endpoints]
arbitrum = "${ARBITRUM_RPC_URL}"
arbitrum_sepolia = "https://arbitrum-sepolia.blockpi.network/v1/rpc/public"
avalanche = "${AVALANCHE_RPC_URL}"
base = "https://mainnet.base.org"
base_sepolia = "https://sepolia.base.org"
bnb = "https://bsc-dataseed.binance.org"
gnosis = "https://rpc.gnosischain.com"
localhost = "http://localhost:8545"
mainnet = "${MAINNET_RPC_URL}"
optimism = "${OPTIMISM_RPC_URL}"
optimism_sepolia = "https://sepolia.optimism.io"
polygon = "${POLYGON_RPC_URL}"
scroll = "https://rpc.scroll.io/"
sepolia = "${SEPOLIA_RPC_URL}"