-
Notifications
You must be signed in to change notification settings - Fork 0
/
foundry.toml
33 lines (27 loc) · 1.02 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
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
solc = "0.8.24" # Set the Solidity Compiler version
evm_version = "cancun" # Set the EVM version
optimize = true # Enable Solidity optimizer
optimizer_runs = 200 # Set the number of optimizer runs
remappings = [
"@foundry-devops/=lib/foundry-devops/",
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"@uniswap/v3-core/contracts/=lib/v3-core/contracts/",
"@uniswap/v3-periphery/contracts/=lib/v3-periphery/contracts/",
"@uniswap/swap-router-contracts/=lib/swap-router-contracts/",
"@aave/aave-v3-core/contracts/=lib/aave-v3-core/contracts/",
]
# Allow foundry to run commands on the command line
ffi = true
fs_permissions = [{ access = "read", path = "./broadcast" }]
[fuzz]
runs = 100
[invariant]
runs = 128
depth = 128
fail_on_revert = true
# See more config options https://github.com/foundry-rs/foundry/tree/master/config