ethereum-optimism / ethereum-optimism/optimism
OPCM `upgrade()` always upgrades all contracts
Open
- Dominant language
- Go
- Stars
- 6.5k
- Forks
- 4k
- Avg merge
- 2d 38m
- Merged PRs (30d)
- 164
Description
We should move towards always upgrading all contracts to reduce churn in the upgrade path.
Thus `opcm.upgrade()` should be modified to:
1. Call `upgradeTo()` on all proxies (this section will thus become static).
2. Do `contract.upgrade()` on contracts where necessary (only this section will need to change).
Contributor guide
Assessment
This issue has not been assessed yet.