Skip to content

Commit

Permalink
fix: Fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
maurelian committed Oct 16, 2024
1 parent eeb8d7a commit 135f97f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/contracts-bedrock/scripts/DeployOPChain.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ contract DeployOPChain is Script {
require(game.maxGameDepth() == 73, "DPG-100");
}

function assertValidAnchorStateRegistryProxy(DeployOPChainInput _doi, DeployOPChainOutput _doo) internal {
function assertValidAnchorStateRegistryProxy(DeployOPChainInput, DeployOPChainOutput _doo) internal {
// First we check the proxy as itself.
IProxy proxy = IProxy(payable(address(_doo.anchorStateRegistryProxy())));
vm.prank(address(0));
Expand All @@ -506,7 +506,7 @@ contract DeployOPChain is Script {
require(Hash.unwrap(actualRoot) == expectedRoot, "ANCHORP-40");
}

function assertValidAnchorStateRegistryImpl(DeployOPChainInput _doi, DeployOPChainOutput _doo) internal {
function assertValidAnchorStateRegistryImpl(DeployOPChainInput, DeployOPChainOutput _doo) internal {
IAnchorStateRegistry registry = _doo.anchorStateRegistryImpl();

DeployUtils.assertInitialized({ _contractAddress: address(registry), _slot: 0, _offset: 0 });
Expand Down Expand Up @@ -644,7 +644,7 @@ contract DeployOPChain is Script {
require(admin == address(_doo.opChainProxyAdmin()), "DWETH-20");
}

function assertValidAddressManager(DeployOPChainInput _doi, DeployOPChainOutput _doo) internal {
function assertValidAddressManager(DeployOPChainInput, DeployOPChainOutput _doo) internal view {
require(_doo.addressManager().owner() == address(_doo.opChainProxyAdmin()), "AM-10");
}

Expand Down

0 comments on commit 135f97f

Please sign in to comment.