-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfoundry.toml
More file actions
35 lines (29 loc) · 992 Bytes
/
foundry.toml
File metadata and controls
35 lines (29 loc) · 992 Bytes
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
[profile.default]
solc-version = '0.8.28'
src = 'contracts/ERC20'
out = 'out'
test = 'test/foundry'
cache_path = 'cache/foundry'
optimizer = true
optimizer_runs = 1 # Adjust the number of runs to fit your needs
via_ir = true
libs = [
'node_modules/@layerzerolabs/toolbox-foundry/lib',
'node_modules',
]
remappings = [
# Due to a misconfiguration of solidity-bytes-utils, an outdated version
# of forge-std is being dragged in
#
# To remedy this, we'll remap the ds-test and forge-std imports to ou own versions
'ds-test/=node_modules/@layerzerolabs/toolbox-foundry/lib/ds-test',
'forge-std/=node_modules/@layerzerolabs/toolbox-foundry/lib/forge-std',
'@layerzerolabs/=node_modules/@layerzerolabs/',
'@openzeppelin/=node_modules/@openzeppelin/',
'@layerzerolabs/onft-evm/=node_modules/@layerzerolabs/onft-evm/',
'@layerzerolabs/oapp-evm/=node_modules/@layerzerolabs/oapp-evm/',
]
[fuzz]
runs = 5000
max_test_rejects = 0
show_logs = true