Skip to content

Commit

Permalink
fix: address didn't need to be payable.
Browse files Browse the repository at this point in the history
  • Loading branch information
blmalone committed Nov 13, 2024
1 parent f44fcb2 commit fcbfcf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ contract DeployImplementationsOutput is BaseDeployIO {
require(_addr != address(0), "DeployImplementationsOutput: cannot set zero address");

// forgefmt: disable-start
if (_sel == this.opcm.selector) _opcm = OPContractsManager(payable(_addr)); // TODO: @blmalone does this need to be payable?
if (_sel == this.opcm.selector) _opcm = OPContractsManager(_addr);
else if (_sel == this.optimismPortalImpl.selector) _optimismPortalImpl = IOptimismPortal2(payable(_addr));
else if (_sel == this.delayedWETHImpl.selector) _delayedWETHImpl = IDelayedWETH(payable(_addr));
else if (_sel == this.preimageOracleSingleton.selector) _preimageOracleSingleton = IPreimageOracle(_addr);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ contract OPContractsManager_InternalMethods_Test is Test {
opcmHarness = new OPContractsManager_Harness({
_superchainConfig: superchainConfigProxy,
_protocolVersions: protocolVersionsProxy,
_l1ContractsReleaseVersion: "dev", // TODO: @blmalone update this to the correct value for this test.
_l1ContractsReleaseVersion: "dev",
_inputContracts: emptyInputContracts
});
}
Expand Down

0 comments on commit fcbfcf3

Please sign in to comment.