Skip to content

Commit

Permalink
fix: update addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
ly0va committed Nov 21, 2024
1 parent 73c32d8 commit 0190458
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/auth-server/stores/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ export const contractsByChain: Record<SupportedChainId, ChainContracts> = {
accountPaymaster: "0x685af8Bc672D5916A4a97536e73bce0407CB4BEf",
},
[zksyncInMemoryNode.id]: {
session: "0xeD30117A528235a4f539974bB9093565eBB02172",
passkey: "0x0e907201f5BC4e536A7382e488c1FD2e41485a6f",
accountFactory: "0xaAF5f437fB0524492886fbA64D703df15BF619AE",
accountPaymaster: "0xcE98d6E9456CdFE5eDC1Ce6c32eEce8F71AF6b74",
session: "0x261ECD81AD63b9b255454b54F591A037368d80eC",
passkey: "0x59Cc87808FCAdB73BeBC13294A28Cdf126fbE5f7",
accountFactory: "0x35938C70af13d0c3bBb4e852A9Ab10B20797AeD5",
accountPaymaster: "0x3F536ED8a9c228f6Db449Bae484F7d792Bb2dB28",
},
};

Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"executor": "nx:run-commands",
"options": {
"cwd": "packages/contracts",
"command": "pnpm hardhat deploy --no-proxy"
"command": "pnpm hardhat deploy"
},
"inputs": ["production", "outputs", "^production"],
"dependsOn": ["build"]
Expand Down
3 changes: 2 additions & 1 deletion packages/contracts/scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ task("deploy", "Deploys ZKsync SSO contracts")
await deploy("WebAuthValidator", deployer, !cmd.noProxy);
const sessions = await deploy("SessionKeyValidator", deployer, !cmd.noProxy);
const implementation = await deploy("SsoAccount", deployer, false);
const factory = await deploy("AAFactory", deployer, !cmd.noProxy, [implementation]);
// TODO: enable proxy for factory -- currently it's not working
const factory = await deploy("AAFactory", deployer, false, [implementation]);
const paymaster = await deploy("ExampleAuthServerPaymaster", deployer, false, [factory, sessions]);

if (cmd.fund != 0) {
Expand Down

0 comments on commit 0190458

Please sign in to comment.