-
Notifications
You must be signed in to change notification settings - Fork 13
/
foundry.toml
24 lines (23 loc) · 848 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
[profile.default]
src = 'contracts'
out = 'out'
libs = ['node_modules', 'lib']
script = 'forge-script'
test = 'forge-test'
cache_path = 'cache_forge'
fs_permissions = [{ access = "read", path = "./"}]
remappings = [
"solady/=lib/automata-on-chain-pccs/lib/solady/src/",
"p256-verifier/=lib/automata-on-chain-pccs/lib/p256-verifier/src/",
"@automata-network/on-chain-pccs/=lib/automata-on-chain-pccs/src/",
"risc0/=lib/risc0-ethereum/contracts/src/",
# foundry is not able to detect this particular remapping for some reason...
"openzeppelin/=lib/risc0-ethereum/lib/openzeppelin-contracts/"
]
solc = "0.8.24"
optimizer = true
optimizer_runs = 200
# NOTE: Be very careful with this when deploying, because I have had issues
# performing contract verification
# https://github.com/foundry-rs/foundry/issues/3507
viaIR = true