Skip to content

Commit

Permalink
fix: OPCM semver
Browse files Browse the repository at this point in the history
  • Loading branch information
maurelian committed Jan 7, 2025
1 parent 4a3082b commit 26bdb34
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions packages/contracts-bedrock/snapshots/semver-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"sourceCodeHash": "0xa91b445bdc666a02ba18e3b91ba94b6d54bbe65da714002fc734814201319d57"
},
"src/L1/OPContractsManager.sol": {
"initCodeHash": "0x229b7f02ea7ae123421eeaef9092a8e447f237576f0cd3d43ca81b6ccc9248dc",
"sourceCodeHash": "0x256b6ee64af66ee1628c5ac16eeca406aa9fb19d5e710e24bd6ad84ef14517fe"
"initCodeHash": "0x5456d00538d2feef7346ee55d2f8fb92e3ae11b575b99a2b5c543a3f2d4b76da",
"sourceCodeHash": "0x35ac52d11a87d1da31d6d0edff54bd0cfcb0f6c97d8aeac17400642f960a5681"
},
"src/L1/OptimismPortal2.sol": {
"initCodeHash": "0xfd14fd690752519064d6de6c3e15d69ec9146bc8714e56ac286305773dbb1533",
Expand Down Expand Up @@ -219,3 +219,4 @@
"initCodeHash": "0x2bfce526f82622288333d53ca3f43a0a94306ba1bab99241daa845f8f4b18bd4",
"sourceCodeHash": "0xf49d7b0187912a6bb67926a3222ae51121e9239495213c975b3b4b217ee57a1b"
}
}
4 changes: 2 additions & 2 deletions packages/contracts-bedrock/src/L1/OPContractsManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ contract OPContractsManager is ISemver {

// -------- Constants and Variables --------

/// @custom:semver 1.0.0-beta.27
string public constant version = "1.0.0-beta.27";
/// @custom:semver 1.0.0-beta.28
string public constant version = "1.0.0-beta.28";

/// @notice Represents the interface version so consumers know how to decode the DeployOutput struct
/// that's emitted in the `Deployed` event. Whenever that struct changes, a new version should be used.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ contract OPContractsManager_Upgrade_Test is CommonTest {
}
}

function test_upgrade_succeeds() public {
function test_upgrade_succeeds() public view {
// TODO: make a state var for opcm in CommonTest
OPContractsManager opcm = OPContractsManager(deploy.mustGetAddress("OPContractsManager_NextVersion"));
OPContractsManager.Implementations memory impls = opcm.implementations();
Expand Down

0 comments on commit 26bdb34

Please sign in to comment.