ethereum-optimism / ethereum-optimism/optimism

OPCM `upgrade()` always upgrades all contracts

Open
#15,535 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.