-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoundry.toml
30 lines (24 loc) · 970 Bytes
/
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
[profile.default]
src = 'src'
out = 'out'
libs = ['lib']
fs_permissions = [{ access = "read-write", path = "./"}]
gas_limit = "18446744073709551615"
[profile.local]
eth-rpc-url = 'http://localhost:8545'
fs_permissions = [{ access = "read-write", path = "./"}]
[profile.docker]
eth-rpc-url = 'http://anvil:8545'
fs_permissions = [{ access = "read", path = "./out"}]
[profile.deployment-check]
eth-rpc-url = 'http://anvil-deploy-check:8545'
fs_permissions = [{ access = "read", path = "./out"}]
[profile.polygon]
eth-rpc-url = 'http://172.20.0.2:10002'
fs_permissions = [{ access = "read", path = "./out"}]
remappings = ["forge-std/=lib/forge-std/src/",
"ds-test/=lib/forge-std/lib/ds-test/src/",
"@openzeppelin/=lib/openzeppelin-contracts/",
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"diamond-std/=lib/diamond-std/",]
# See more config options https://github.com/foundry-rs/foundry/tree/master/config