Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
maurelian committed Jan 23, 2025
1 parent 9e3ebae commit 5607ae4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/contracts-bedrock/test/L1/OPContractsManager.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,16 @@ contract OPContractsManager_Upgrade_Test is OPContractsManager_Upgrade_Harness {
}

// Set the proxy admin owner to be the non-upgrade controller
vm.store(address(proxyAdmin), bytes32(ForgeArtifacts.getSlot("ProxyAdmin", "_owner").slot), bytes32(uint256(uint160(_nonUpgradeController))));
vm.store(address(disputeGameFactory), bytes32(ForgeArtifacts.getSlot("DisputeGameFactory", "_owner").slot), bytes32(uint256(uint160(_nonUpgradeController))));
vm.store(
address(proxyAdmin),
bytes32(ForgeArtifacts.getSlot("ProxyAdmin", "_owner").slot),
bytes32(uint256(uint160(_nonUpgradeController)))
);
vm.store(
address(disputeGameFactory),
bytes32(ForgeArtifacts.getSlot("DisputeGameFactory", "_owner").slot),
bytes32(uint256(uint160(_nonUpgradeController)))
);

// Run the upgrade test and checks
runUpgradeTestAndChecks(_nonUpgradeController);
Expand Down

0 comments on commit 5607ae4

Please sign in to comment.