-
Notifications
You must be signed in to change notification settings - Fork 198
/
foundry.toml
45 lines (35 loc) · 1.17 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
[profile.default]
src = 'src/hardhat/contracts/BAMM'
out = 'out'
libs = ['node_modules', 'lib']
test = 'src/foundry/test/'
cache_path = 'forge-cache'
remappings = [
'@fraxmocks/=lib/frax-solidity/src/hardhat/contracts/mocks/',
'@staking/=/src/hardhat/contracts/Staking/',
'@openzeppelin-contracts/=lib/openzeppelin-contracts/',
'openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/',
'@openzeppelin/=lib/openzeppelin-contracts/',
]
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
solc_version = "0.8.19"
gas_reports = ["*"]
# settings for coverage reports
via_ir = true
optimizer = true #testing this out - was false
optimizer_runs = 100_000
[profile.default.optimizer_details]
jumpdestRemover = true
orderLiterals = true
deduplicate = true
yul = true
constantOptimizer = true
stackAllocation = true
# Have `cse = true` commented out for faster testing compilation,
### but UNCOMMENT it for DEPLOYMENT! ###
cse = true
[profile.default.optimizer_details.yulDetails]
stackAllocation = true
# Have `optimizerSteps = ""` uncommented for faster testing compilation,
### but COMMENT IT out for DEPLOYMENT!###
# optimizerSteps = ""