From b218157b28b6ef8d42a44f6b0731d5350f160c69 Mon Sep 17 00:00:00 2001 From: himanshu Date: Tue, 28 Nov 2023 21:03:01 +0800 Subject: [PATCH] skip returning private nonce in public apis --- test/sapphire_devnet.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/sapphire_devnet.test.ts b/test/sapphire_devnet.test.ts index d41e8df..da421b3 100644 --- a/test/sapphire_devnet.test.ts +++ b/test/sapphire_devnet.test.ts @@ -19,7 +19,7 @@ const TORUS_TEST_VERIFIER = "torus-test-health"; const TORUS_TEST_AGGREGATE_VERIFIER = "torus-test-health-aggregate"; const HashEnabledVerifier = "torus-test-verifierid-hash"; -describe("torus utils sapphire", function () { +describe.only("torus utils sapphire", function () { let torus: TorusUtils; let TORUS_NODE_MANAGER: NodeManager; @@ -222,7 +222,7 @@ describe("torus utils sapphire", function () { X: "78a88b99d960808543e75076529c913c1678bc7fafbb943f1ce58235fd2f4e0c", Y: "6b451282135dfacd22561e0fb5bf21aea7b1f26f2442164b82b0e4c8f152f7a7", }, - nonce: new BN("376df8a62e2e72a2b3e87e97c85f86b3f2dac41082ddeb863838d80462deab5e", "hex"), + nonce: new BN("0", "hex"), upgraded: false, typeOfUser: "v2", }, @@ -278,7 +278,7 @@ describe("torus utils sapphire", function () { X: "78a88b99d960808543e75076529c913c1678bc7fafbb943f1ce58235fd2f4e0c", Y: "6b451282135dfacd22561e0fb5bf21aea7b1f26f2442164b82b0e4c8f152f7a7", }, - nonce: new BN("376df8a62e2e72a2b3e87e97c85f86b3f2dac41082ddeb863838d80462deab5e", "hex"), + nonce: new BN("0", "hex"), upgraded: false, typeOfUser: "v2", }, @@ -510,7 +510,7 @@ describe("torus utils sapphire", function () { X: "d6404befc44e3ab77a8387829d77e9c77a9c2fb37ae314c3a59bdc108d70349d", Y: "1054dfe297f1d977ccc436109cbcce64e95b27f93efc0f1dab739c9146eda2e", }, - nonce: new BN("51eb06f7901d5a8562274d3e53437328ca41ad96926f075122f6bd50e31be52d", "hex"), + nonce: new BN("0", "hex"), upgraded: false, typeOfUser: "v2", }, @@ -553,7 +553,7 @@ describe("torus utils sapphire", function () { X: "d6404befc44e3ab77a8387829d77e9c77a9c2fb37ae314c3a59bdc108d70349d", Y: "1054dfe297f1d977ccc436109cbcce64e95b27f93efc0f1dab739c9146eda2e", }, - nonce: new BN("51eb06f7901d5a8562274d3e53437328ca41ad96926f075122f6bd50e31be52d", "hex"), + nonce: new BN("0", "hex"), upgraded: false, typeOfUser: "v2", },