-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfoundry.toml
More file actions
49 lines (38 loc) · 1.21 KB
/
foundry.toml
File metadata and controls
49 lines (38 loc) · 1.21 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[profile.default]
src = 'src'
out = 'out'
libs = ['lib']
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
solc = "0.8.25"
# Try to make sure the optimizer doesn't touch the output in a way that can break
# source maps for debugging.
# via_ir = false
# optimizer = false
# optimizer_runs = 0
# optimizer_steps = 0
# These settings should be used for snapshots
optimizer = true
optimizer_runs = 1000000
evm_version = "cancun"
bytecode_hash = "none"
cbor_metadata = false
fs_permissions = [
{ access = "read-write", path = "./src/generated" }
]
remappings = [
"rain.solmem/=lib/rain.datacontract/lib/rain.solmem/src/",
"openzeppelin-contracts/=lib/rain.math.fixedpoint/lib/openzeppelin-contracts/",
"rain.deploy/=lib/rain.deploy/src/"
]
[fuzz]
runs = 5096
[rpc_endpoints]
arbitrum = "${CI_DEPLOY_ARBITRUM_RPC_URL}"
base = "${CI_DEPLOY_BASE_RPC_URL}"
flare = "${CI_DEPLOY_FLARE_RPC_URL}"
polygon = "${CI_DEPLOY_POLYGON_RPC_URL}"
[etherscan]
arbitrum = { key = "${CI_DEPLOY_ARBITRUM_ETHERSCAN_API_KEY}" }
base = { key = "${CI_DEPLOY_BASE_ETHERSCAN_API_KEY}" }
flare = { key = "${CI_DEPLOY_FLARE_ETHERSCAN_API_KEY}" }
polygon = { key = "${CI_DEPLOY_POLYGON_ETHERSCAN_API_KEY}" }