Files
zeekayandHanzo Dev 10e991dd2b Add forge deploy and upgrade scripts
Deploy.s.sol deploys Lux, the Statistics implementation and its
transparent proxy, then every level factory in deployId order, registers
each with Lux, and writes client/src/gamedata/deploy.<network>.json in
the client's shape (0..29 plus lux/implementation/proxyAdmin/proxyStats);
the proxyAdmin address is read from the proxy's ERC1967 admin slot.
Network is NETWORK or, for chain 1337, "local". Upgrade.s.sol replaces
upgrade_proxy.mjs: deploy a new implementation and point the proxy at it.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-23 02:08:36 -07:00

15 lines
278 B
TOML

[profile.default]
src = "src"
test = "test"
out = "out"
libs = ["lib"]
script = "script"
solc_version = "0.8.37"
evm_version = "cancun"
optimizer = true
optimizer_runs = 1000
fs_permissions = [{ access = "read-write", path = "../client/src/gamedata" }]
[fmt]
line_length = 100