Skip to content

Commit

Permalink
feat: add swapowner
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Jan 9, 2025
1 parent ed84d20 commit 2ae6a06
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contracts/script/deploy/SP1VerifierGatewayGroth16.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,10 @@ contract SP1VerifierGatewayScript is BaseScript {
// Write address
writeAddress(KEY, gateway);
}

function swapOwner() external multichain(KEY) broadcaster {
// Swap owner
SP1VerifierGateway gateway = SP1VerifierGateway(0x397A5f7f3dBd538f23DE225B51f532c34448dA9B);
gateway.transferOwnership(0xBaB2c2aF5b91695e65955DA60d63aD1b2aE81126);
}
}
6 changes: 6 additions & 0 deletions contracts/script/deploy/SP1VerifierGatewayPlonk.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,10 @@ contract SP1VerifierGatewayScript is BaseScript {
// Write address
writeAddress(KEY, gateway);
}

function swapOwner() external multichain(KEY) broadcaster {
// Swap owner
SP1VerifierGateway gateway = SP1VerifierGateway(0x3B6041173B80E77f038f3F2C0f9744f04837185e);
gateway.transferOwnership(0xBaB2c2aF5b91695e65955DA60d63aD1b2aE81126);
}
}

0 comments on commit 2ae6a06

Please sign in to comment.