-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathfoundry.base.toml
More file actions
108 lines (96 loc) · 4.15 KB
/
Copy pathfoundry.base.toml
File metadata and controls
108 lines (96 loc) · 4.15 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# ---------------------------------------------------------------------------- #
# PROFILES #
# ---------------------------------------------------------------------------- #
[profile.default]
allow_paths = ["../"]
auto_detect_solc = false
bytecode_hash = "ipfs"
evm_version = "shanghai" # needed for greater coverage of EVM chains
fs_permissions = [
{ access = "read", path = "./out" },
{ access = "read", path = "./out-optimized" },
{ access = "read", path = "./scripts/bytecode" },
{ access = "read", path = "package.json" },
]
gas_limit = 9223372036854775807
gas_reports = ["*"]
optimizer = true
out = "out"
script = "scripts/solidity"
sender = "0x1804c8AB1F12E6bbf3894d4083f33e07309d1f38"
solc = "0.8.29"
src = "src"
test = "tests"
[profile.default.fuzz]
max_test_rejects = 1_000_000 # Number of times `vm.assume` can fail
[profile.default.invariant]
call_override = false # Override unsafe external calls to perform reentrancy checks
fail_on_revert = true
show_metrics = false
# Speed up compilation and tests during development
[profile.lite]
fuzz.runs = 10
optimizer = false
# Compile only the production code
[profile.optimized]
out = "out-optimized"
test = "src"
via_ir = true
# Test the optimized contracts without re-compiling them
[profile.test-optimized]
src = "tests"
# ---------------------------------------------------------------------------- #
# OTHER CONFIG #
# ---------------------------------------------------------------------------- #
[doc]
ignore = ["**/*.t.sol"]
out = "docs"
repository = "https://github.com/sablier-labs/evm-monorepo"
[etherscan]
etherscan = { key = "${ETHERSCAN_API_KEY}" }
[fmt]
bracket_spacing = true
# Preserve the deployed Lockup source across Forge formatter versions.
ignore = ["src/SablierLockup.sol"]
int_types = "long"
line_length = 120
multiline_func_header = "all"
number_underscore = "thousands"
prefer_compact = "none"
quote_style = "double"
tab_width = 4
wrap_comments = true
[lint]
lint_on_build = false
[rpc_endpoints]
# mainnets
abstract = "https://direct.routeme.sh/rpc/2741/${ROUTEMESH_API_KEY}"
arbitrum = "https://direct.routeme.sh/rpc/42161/${ROUTEMESH_API_KEY}"
avalanche = "https://direct.routeme.sh/rpc/43114/${ROUTEMESH_API_KEY}"
base = "https://direct.routeme.sh/rpc/8453/${ROUTEMESH_API_KEY}"
berachain = "https://direct.routeme.sh/rpc/80094/${ROUTEMESH_API_KEY}"
bsc = "https://direct.routeme.sh/rpc/56/${ROUTEMESH_API_KEY}"
chiliz = "https://direct.routeme.sh/rpc/88888/${ROUTEMESH_API_KEY}"
denergy = "https://rpc.d.energy/"
ethereum = "https://direct.routeme.sh/rpc/1/${ROUTEMESH_API_KEY}"
gnosis = "https://direct.routeme.sh/rpc/100/${ROUTEMESH_API_KEY}"
hyperevm = "https://direct.routeme.sh/rpc/999/${ROUTEMESH_API_KEY}"
lightlink = "https://direct.routeme.sh/rpc/1890/${ROUTEMESH_API_KEY}"
linea = "https://direct.routeme.sh/rpc/59144/${ROUTEMESH_API_KEY}"
mode = "https://direct.routeme.sh/rpc/34443/${ROUTEMESH_API_KEY}"
monad = "https://direct.routeme.sh/rpc/143/${ROUTEMESH_API_KEY}"
morph = "https://direct.routeme.sh/rpc/2818/${ROUTEMESH_API_KEY}"
optimism = "https://direct.routeme.sh/rpc/10/${ROUTEMESH_API_KEY}"
polygon = "https://direct.routeme.sh/rpc/137/${ROUTEMESH_API_KEY}"
robinhood = "https://rpc.mainnet.chain.robinhood.com"
scroll = "https://direct.routeme.sh/rpc/534352/${ROUTEMESH_API_KEY}"
sonic = "https://direct.routeme.sh/rpc/146/${ROUTEMESH_API_KEY}"
superseed = "https://direct.routeme.sh/rpc/5330/${ROUTEMESH_API_KEY}"
unichain = "https://direct.routeme.sh/rpc/130/${ROUTEMESH_API_KEY}"
xdc = "https://direct.routeme.sh/rpc/50/${ROUTEMESH_API_KEY}"
zksync = "https://direct.routeme.sh/rpc/324/${ROUTEMESH_API_KEY}"
# testnets
arbitrum_sepolia = "https://direct.routeme.sh/rpc/421614/${ROUTEMESH_API_KEY}"
base_sepolia = "https://direct.routeme.sh/rpc/84532/${ROUTEMESH_API_KEY}"
optimism_sepolia = "https://direct.routeme.sh/rpc/11155420/${ROUTEMESH_API_KEY}"
sepolia = "https://direct.routeme.sh/rpc/11155111/${ROUTEMESH_API_KEY}"