Skip to main content
The op-deployer upgrade command can be used for upgrades up to op-contracts/v5.0.0. It does not support upgrading from op-contracts/v5.0.0 to op-contracts/v6.0.0. For upgrades beyond v5.0.0, use superchain-ops or interact with the OPCM directly. See the deprecation notice for details.

Version availability

The op-deployer upgrade command supports the following contract upgrade paths (upgrades must be performed in steps):
Upgrade pathop-deployer versionStatus
op-contracts/v1.8.0 to op-contracts/v2.0.0v0.2.xAvailable
op-contracts/v2.0.0 to op-contracts/v3.0.0v0.3.xAvailable
op-contracts/v3.0.0 to op-contracts/v4.0.0v0.4.xAvailable
op-contracts/v4.0.0 to op-contracts/v5.0.0v0.5.xAvailable
Each minor version of op-deployer supported a single release of the governance-approved smart contracts. See the releases guide for more information on versioning.

Migration

For L1 contract upgrades beyond op-contracts/v5.0.0, use superchain-ops. For non-Optimism governed chains, you can interact with the OPCM directly using your own tooling.