diff --git a/packages/default/test/helpers.js b/packages/default/test/helpers.js index 210d978fd..bba6014f9 100644 --- a/packages/default/test/helpers.js +++ b/packages/default/test/helpers.js @@ -47,8 +47,6 @@ export function getServiceProvider(params) { // this url has no effect as postbox key is passed // passing it just to satisfy direct auth checks. baseUrl: "http://localhost:3000", - web3AuthClientId: "test", - network: "mainnet", }, }); } @@ -180,7 +178,6 @@ export async function assignTssDkgKeys(opts) { for (let j = 0; j < maxTSSNonceToSimulate; j++) { const token = generateIdToken(verifierId); const extendedVerifierId = `${verifierId}\u0015${tssTag}\u0016${j}`; - console.log("extendedVerifierId", extendedVerifierId); const { serverEndpoints: sssEndpoints } = await serviceProvider.getSSSNodeDetails(); const retrieveSharesResponse = await serviceProvider.customAuthInstance.torus.retrieveShares( diff --git a/packages/default/test/shared.js b/packages/default/test/shared.js index 156d40e05..aeddb7d31 100644 --- a/packages/default/test/shared.js +++ b/packages/default/test/shared.js @@ -637,6 +637,7 @@ export const sharedTestCases = (mode, torusSP, storageLayer) => { selectedServers: [1, 2, 3], serverEndpoints, serverPubKeys, + authSignatures: signatures, }); { @@ -849,7 +850,7 @@ export const sharedTestCases = (mode, torusSP, storageLayer) => { sp.verifierName = "torus-test-health"; sp.verifierId = "test18@example.com"; - const { postboxkey } = await fetchPostboxKeyAndSigs({ + const { postboxkey, signatures } = await fetchPostboxKeyAndSigs({ serviceProvider: sp, verifierName: sp.verifierName, verifierId: sp.verifierId, @@ -882,6 +883,7 @@ export const sharedTestCases = (mode, torusSP, storageLayer) => { inputTSSIndex: tssIndex, newFactorPub, newTSSIndex: 3, + authSignatures: signatures, }); await tb.syncLocalMetadataTransitions(); @@ -906,7 +908,7 @@ export const sharedTestCases = (mode, torusSP, storageLayer) => { const sp = customSP; sp.verifierName = "torus-test-health"; sp.verifierId = "test18@example.com"; - const { postboxkey } = await fetchPostboxKeyAndSigs({ + const { postboxkey, signatures } = await fetchPostboxKeyAndSigs({ serviceProvider: sp, verifierName: sp.verifierName, verifierId: sp.verifierId, @@ -938,6 +940,7 @@ export const sharedTestCases = (mode, torusSP, storageLayer) => { inputTSSIndex: tssIndex, newFactorPub, newTSSIndex: 3, + authSignatures: signatures, }); await tb.syncLocalMetadataTransitions();