-
Notifications
You must be signed in to change notification settings - Fork 5
/
foundry.toml
40 lines (37 loc) · 1019 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
39
40
[profile.default]
# The source directory
src = 'src'
# The artifact directory
out = 'out'
# A list of paths to look for libraries in
libs = ['lib']
# The test directory
test = 'test'
# The script directory
script = 'script'
# Whether or not to enable `vm.ffi`
ffi = true
# Enables or disables via-ir
via-ir = false
# Enables or disables the optimizer
optimizer = false
# The number of optimizer runs
optimizer_runs = 2_000
# Improves verification
bytecode_hash = "none"
# EVM version
evm_version = "london"
# Version to compile with
solc_version = "0.8.19"
# Contracts to track with --gas-report
gas_reports = ["FraxGovernorAlpha", "FraxGovernorOmega", "VeFxsVotingDelegation", "FraxGuard", "FraxCompatibilityFallbackHandler"]
[fuzz]
# Amount of runs per fuzz test
runs = 256
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
[fmt]
line_length = 1000 # This gets overriden by prettier afterwards
tab_width = 4
bracket_spacing = true
int_types = "long"
number_underscore = "thousands"