Repository navigation
Expand file tree
/
Copy pathfoundry.toml
More file actions
72 lines (61 loc) · 2.17 KB
/
Copy pathfoundry.toml
File metadata and controls
72 lines (61 loc) · 2.17 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Release metadata, not foundry config: `LibRainDeploySnapshot.deployTag` reads
# `version` as the release being built. Newest published release, moved only by
# the release PR that cuts the next tag.
[external.package]
name = "rain-factory"
version = "0.2.5"
[profile.default]
src = 'src'
test = 'test'
out = 'out'
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
solc = "0.8.25"
optimizer = true
optimizer_runs = 100000
evm_version = "cancun"
bytecode_hash = "none"
cbor_metadata = false
libs = ["dependencies"]
# `script/Build.sol` regenerates `src/generated/` and stages `foundry.toml` in
# `.staged-config/`.
fs_permissions = [
{ access = "read", path = "./foundry.toml" },
{ access = "read-write", path = "./src/generated" },
{ access = "read", path = "./test" },
{ access = "read-write", path = "./fixture-lib" },
{ access = "read-write", path = "./.staged-config" },
]
[fuzz]
runs = 2048
[fmt]
line_length = 120
# Library repo: the ICloneable* interface surface, the Lib* logic that
# implements it, and the clone and beacon-proxy deploy mechanisms that extend
# rain-deploy's suites. The concrete CloneFactory, its deploy-pin snapshots and
# deploy scripts live in rain.factory.deploy (rainlanguage/rain.factory#46).
# Registry beacon proxies resolve through rain-deploy's `IConfigRegistryV5`,
# imported, which imports rain-metadata.
[dependencies]
forge-std = "1.17.0"
# With the [profile.default] compiler settings this fixes the generated
# BeaconProxy creation code and so the ICloneableFactoryV5 address derivation:
# a bump that changes `src/generated/` needs a new interface version.
"@openzeppelin-contracts" = "5.7.0"
rain-sol-codegen = "0.1.39"
rain-deploy = "0.1.30"
rain-metadata = "0.1.45"
safe-global-safe-smart-account = "1.4.1-3"
[soldeer]
recursive_deps = false
# rain-deploy:generated:rpc_endpoints:begin
[rpc_endpoints]
arbitrum = "${ARBITRUM_RPC_URL}"
base = "${BASE_RPC_URL}"
base_sepolia = "${BASE_SEPOLIA_RPC_URL}"
bsc = "${BSC_RPC_URL}"
ethereum = "${ETHEREUM_RPC_URL}"
flare = "${FLARE_RPC_URL}"
hyperevm = "${HYPEREVM_RPC_URL}"
polygon = "${POLYGON_RPC_URL}"
robinhood = "${ROBINHOOD_RPC_URL}"
# rain-deploy:generated:rpc_endpoints:end