forc deploy with [proxy] reuses the same address across networks (testnet → mainnet), causing deploy failure
Open
enhancement
forc-client
team:tooling
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 3
Description
### Related Component
forc-deploy
### Problem you are trying to solve
When [proxy] is enabled in forc.toml, doing a testnet/mainnet deploy writes a proxy address into the config. A subsequent alternate deploy reuses that same proxy address, which doesn’t exist on the other network, so the deploy fails. This makes multi-network workflows fragile and forces manual edits to forc.toml between deploys.
### Solution you'd like
[proxy]
enabled = true
[proxy.addresses]
testnet = "0x_testnet_proxy"
mainnet = "0x_mainnet_proxy"
### Notes
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.