Skip to content

Commit

Permalink
chore: 65 whats
Browse files Browse the repository at this point in the history
  • Loading branch information
LHerskind committed Oct 24, 2024
1 parent b115111 commit 9667f4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yarn-project/ethereum/src/deploy_l1_contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,8 @@ export const deployL1Contracts = async (
logger.verbose(`Registry ${registryAddress} has already registered rollup ${rollupAddress}`);
}

{
// If the owner is not the Apella contract, transfer ownership to the Apella contract
if ((await registryContract.read.owner([])) !== getAddress(apellaAddress.toString())) {
const transferOwnershipTxHash = await registryContract.write.transferOwnership(
[getAddress(apellaAddress.toString())],
{
Expand Down

0 comments on commit 9667f4b

Please sign in to comment.