-
Notifications
You must be signed in to change notification settings - Fork 6
/
foundry.toml
39 lines (35 loc) · 1.01 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
[profile.default]
evm_version="cancun"
ffi=true
remappings=[
"@openzeppelin/=lib/openzeppelin-contracts/contracts/",
"leb128=lib/leb128-nooffset/src/",
"permit2/=lib/permit2/",
"solady/=lib/solady/src/",
]
solc_version="0.8.25"
[profile.ci]
fuzz_runs=5000
libs =["lib"]
optimizer=false
out ="out"
[profile.deploy]
evm_version ="paris"
optimizer =true
optimizer_runs=4_294_967_295 #2**32-1
via_ir =true
[profile.deploy-mainnet]
# Overwrite to use cancun if deploying to Ethereum Mainnet
evm_version = "cancun"
optimizer = true
optmizer-runs = 4_294_967_295 #2**32-1
via_ir = true
[etherscan]
arbitrum ={key="${ETHERSCAN_ARBITRUM}"}
avalanche={key="${ETHERSCAN_AVALANCHE}"}
base ={key="${ETHERSCAN_BASE}"}
linea ={key="${ETHERSCAN_LINEA}"}
mainnet ={key="${ETHERSCAN_MAINNET}"}
optimism ={key="${ETHERSCAN_OPTIMISM}"}
polygon ={key="${ETHERSCAN_POLYGON}"}
scroll ={key="${ETHERSCAN_SCROLL}"}