Skip to content

Commit

Permalink
feat: safe owner fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arthcp committed Feb 7, 2025
1 parent 6313211 commit 6a3f54b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/deploy/scripts/deploySocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const deploySocket = async (
if (!deployUtils.addresses["SocketSafeProxy"]) {
const proxyAddress = await createSocketSafe(
safeProxyFactory,
safe.address,
deployUtils.addresses["SafeL2"],
[socketOwner]
);
deployUtils.addresses["SocketSafeProxy"] = proxyAddress;
Expand All @@ -77,7 +77,9 @@ export const deploySocket = async (
);
deployUtils.addresses["MultiSigWrapper"] = multisigWrapper.address;

const owner = useSafe ? deployUtils.addresses["SafeL2"] : socketOwner;
const owner = useSafe
? deployUtils.addresses["SocketSafeProxy"]
: socketOwner;
const signatureVerifier: Contract = await getOrDeploy(
CORE_CONTRACTS.SignatureVerifier,
"contracts/utils/SignatureVerifier.sol",
Expand Down

0 comments on commit 6a3f54b

Please sign in to comment.