forked from wormhole-foundation/wormhole-solidity-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
21 lines (19 loc) · 806 Bytes
/
foundry.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[profile.default]
solc_version = "0.8.24"
evm_version = "paris" # prevent use of PUSH0 opcode until it is widely supported
src = "src"
out = "out"
libs = ["lib"]
via_ir = true
#currently, forge does not allow remapping of individual files
# (see here: https://github.com/foundry-rs/foundry/issues/7527#issuecomment-2269444829)
#so for now we are using the IERC20 prefix as a workaround that allows users
# to override the IERC20 interface with whatever they use in their project
# (well, as long as their file is also called IERC20.sol and is interface compatible)
remappings = [
"ds-test/=lib/forge-std/lib/ds-test/src/",
"forge-std/=lib/forge-std/src/",
"wormhole-sdk/=src/",
"IERC20/=src/interfaces/token/",
]
# See more config options https://github.com/foundry-rs/foundry/tree/master/config