Skip to content

Commit b751028

Browse files
updates after rebase
1 parent 630b37e commit b751028

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

packages/contracts-bedrock/scripts/deploy/DeployImplementations.s.sol

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,6 @@ contract DeployImplementations is Script {
498498
require(checkAddress == address(0), "OPCM-40");
499499
(blueprints.resolvedDelegateProxy, checkAddress) = DeployUtils.createDeterministicBlueprint(vm.getCode("ResolvedDelegateProxy"), _salt);
500500
require(checkAddress == address(0), "OPCM-50");
501-
(blueprints.anchorStateRegistry, checkAddress) = DeployUtils.createDeterministicBlueprint(vm.getCode("AnchorStateRegistry"), _salt);
502-
require(checkAddress == address(0), "OPCM-60");
503501
// The max initcode/runtimecode size is 48KB/24KB.
504502
// But for Blueprint, the initcode is stored as runtime code, that's why it's necessary to split into 2 parts.
505503
(blueprints.permissionedDisputeGame1, blueprints.permissionedDisputeGame2) = DeployUtils.createDeterministicBlueprint(vm.getCode("PermissionedDisputeGame"), _salt);

packages/contracts-bedrock/snapshots/semver-lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,4 +219,4 @@
219219
"initCodeHash": "0x2bfce526f82622288333d53ca3f43a0a94306ba1bab99241daa845f8f4b18bd4",
220220
"sourceCodeHash": "0xf49d7b0187912a6bb67926a3222ae51121e9239495213c975b3b4b217ee57a1b"
221221
}
222-
}
222+
}

packages/contracts-bedrock/snapshots/storageLayout/OPContractsManager.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
"slot": "10",
2121
"type": "struct OPContractsManager.Implementations"
2222
}
23-
]
23+
]

packages/contracts-bedrock/snapshots/storageLayout/OPContractsManagerInterop.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
"slot": "10",
2121
"type": "struct OPContractsManager.Implementations"
2222
}
23-
]
23+
]

packages/contracts-bedrock/test/opcm/DeployImplementations.t.sol

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ contract DeployImplementations_Test is Test {
275275
deployImplementations.deployPreimageOracleSingleton(dii, dio);
276276
deployImplementations.deployMipsSingleton(dii, dio);
277277
deployImplementations.deployDisputeGameFactoryImpl(dio);
278+
deployImplementations.deployAnchorStateRegistryImpl(dio);
278279
deployImplementations.deployOPContractsManager(dii, dio);
279280

280281
// Store the original addresses.
@@ -288,6 +289,7 @@ contract DeployImplementations_Test is Test {
288289
address preimageOracleSingleton = address(dio.preimageOracleSingleton());
289290
address mipsSingleton = address(dio.mipsSingleton());
290291
address disputeGameFactoryImpl = address(dio.disputeGameFactoryImpl());
292+
address anchorStateRegistryImpl = address(dio.anchorStateRegistryImpl());
291293
address opcm = address(dio.opcm());
292294

293295
// Do the deployments again. Thi should be a noop.
@@ -301,6 +303,7 @@ contract DeployImplementations_Test is Test {
301303
deployImplementations.deployPreimageOracleSingleton(dii, dio);
302304
deployImplementations.deployMipsSingleton(dii, dio);
303305
deployImplementations.deployDisputeGameFactoryImpl(dio);
306+
deployImplementations.deployAnchorStateRegistryImpl(dio);
304307
deployImplementations.deployOPContractsManager(dii, dio);
305308

306309
// Assert that the addresses did not change.
@@ -314,7 +317,8 @@ contract DeployImplementations_Test is Test {
314317
assertEq(preimageOracleSingleton, address(dio.preimageOracleSingleton()), "800");
315318
assertEq(mipsSingleton, address(dio.mipsSingleton()), "900");
316319
assertEq(disputeGameFactoryImpl, address(dio.disputeGameFactoryImpl()), "1000");
317-
assertEq(opcm, address(dio.opcm()), "1100");
320+
assertEq(anchorStateRegistryImpl, address(dio.anchorStateRegistryImpl()), "1100");
321+
assertEq(opcm, address(dio.opcm()), "1200");
318322
}
319323

320324
function testFuzz_run_memory_succeeds(bytes32 _seed) public {

0 commit comments

Comments
 (0)