Skip to content

Commit eca76a2

Browse files
committed
fix: more code cleanup
1 parent bc4a368 commit eca76a2

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

packages/auth-server/pages/dashboard/sessions.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ const {
204204
accountFactory: contracts.factory,
205205
webauthnValidator: contracts.webauthnValidator,
206206
eoaValidator: contracts.eoaValidator,
207-
guardianExecutor: contracts.guardianExecutor || "0x0000000000000000000000000000000000000000",
207+
guardianExecutor: contracts.guardianExecutor,
208208
},
209209
});
210210

packages/auth-server/stores/client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export const contractsByChain: Record<SupportedChainId, ChainContracts> = {
7575
eoaValidator: "0x3497392f9662Da3de1EC2AfE8724CdBF6b884088",
7676
webauthnValidator: "0xa5C2c5C723239C0cD11a5691954CdAC4369C874b",
7777
sessionValidator: "0x2bF3B894aA2C13A1545C6982bBbee435B5168b52",
78+
guardianExecutor: "0x4337768cB3eC57Dd2cb843eFb929B773B13322de",
7879
factory: "0x757b5c9854d327A6B76840c996dfAac0F6b3Dc1f",
7980
bundlerUrl: "https://bundler-api.stage-sso.zksync.dev",
8081
beacon: "0x1D779D791B55a093dE60da664C3F301a87f96C62",
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"eoaValidator": "0xc6945fB9c35a5696E6FB0b23084B4409e2D945EA",
3+
"webauthnValidator": "0xD52c9b1bA249f877C8492F64c096E37a8072982A",
4+
"sessionValidator": "0x38Bf206f027B9c861643689CD516A3B00210586f",
5+
"guardianExecutor": "0x4337768cB3eC57Dd2cb843eFb929B773B13322de",
6+
"accountImplementation": "0x7235ea708874f733d70B604122BfC121468dFFF6",
7+
"beacon": "0x1dEedcF23b6970C30B9d82e18F27B0844bF37838",
8+
"factory": "0x121d7fB7D7B28eBcCf017A8175b8DD637C670BBc",
9+
"entryPoint": "0x0000000071727De22E5E9d8BAf0edAc6f37da032",
10+
"bundlerUrl": "https://bundler-api.stage-sso.zksync.dev"
11+
}

packages/sdk-4337/src/client/actions/sessions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ export async function listActiveSessions(
588588
try {
589589
parsedSessions = JSON.parse(resultJson as string);
590590
} catch (error) {
591-
throw new Error("Failed to parse sessions JSON returned from WASM");
591+
throw new Error(`Failed to parse sessions JSON returned from WASM: ${error}`);
592592
}
593593

594594
if (!Array.isArray(parsedSessions)) {

0 commit comments

Comments
 (0)