diff --git a/packages/contracts-bedrock/scripts/deploy/DeployImplementations.s.sol b/packages/contracts-bedrock/scripts/deploy/DeployImplementations.s.sol index e94a4c1859392..ba5cc301e15b7 100644 --- a/packages/contracts-bedrock/scripts/deploy/DeployImplementations.s.sol +++ b/packages/contracts-bedrock/scripts/deploy/DeployImplementations.s.sol @@ -746,10 +746,10 @@ contract DeployImplementations is Script { uint256 mipsVersion = _dii.mipsVersion(); IPreimageOracle preimageOracle = IPreimageOracle(address(_dio.preimageOracleSingleton())); - // We want to ensure that the OPCM for upgrade 13 is deployed with Mips32 on production networks. - if (mipsVersion != 1) { + // We want to ensure that the OPCM for upgrade 14 is deployed with Mips64 on production networks. + if (mipsVersion != 2) { if (block.chainid == Chains.Mainnet || block.chainid == Chains.Sepolia) { - revert("DeployImplementations: Only Mips32 should be deployed on Mainnet or Sepolia"); + revert("DeployImplementations: Only Mips64 should be deployed on Mainnet or Sepolia"); } } diff --git a/packages/contracts-bedrock/test/opcm/DeployImplementations.t.sol b/packages/contracts-bedrock/test/opcm/DeployImplementations.t.sol index d2fc138e91f76..85680343ccc95 100644 --- a/packages/contracts-bedrock/test/opcm/DeployImplementations.t.sol +++ b/packages/contracts-bedrock/test/opcm/DeployImplementations.t.sol @@ -432,14 +432,14 @@ contract DeployImplementations_Test is Test { function test_run_deployMipsV1OnMainnetOrSepolia_reverts() public { setDefaults(); - dii.set(dii.mipsVersion.selector, 2); + dii.set(dii.mipsVersion.selector, 1); vm.chainId(Chains.Mainnet); - vm.expectRevert("DeployImplementations: Only Mips32 should be deployed on Mainnet or Sepolia"); + vm.expectRevert("DeployImplementations: Only Mips64 should be deployed on Mainnet or Sepolia"); deployImplementations.run(dii, dio); vm.chainId(Chains.Sepolia); - vm.expectRevert("DeployImplementations: Only Mips32 should be deployed on Mainnet or Sepolia"); + vm.expectRevert("DeployImplementations: Only Mips64 should be deployed on Mainnet or Sepolia"); deployImplementations.run(dii, dio); } }