Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
perekopskiy committed Jul 9, 2024
1 parent d1613b5 commit 7a2d7ac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions l1-contracts/deploy-scripts/DeployL1.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,7 @@ contract DeployL1Script is Script {
}

function deployChainAdmin() internal {
bytes memory bytecode = abi.encodePacked(
type(ChainAdmin).creationCode,
abi.encode(config.ownerAddress)
);
bytes memory bytecode = abi.encodePacked(type(ChainAdmin).creationCode, abi.encode(config.ownerAddress));
address contractAddress = deployViaCreate2(bytecode);
console.log("ChainAdmin deployed at:", contractAddress);
addresses.chainAdmin = contractAddress;
Expand Down

0 comments on commit 7a2d7ac

Please sign in to comment.