From 599264e60434455f4de04232b74fbc6c0ae0ba61 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sun, 23 Feb 2025 12:37:33 +0200 Subject: [PATCH 1/3] Update activeAccount.test.ts --- src/tests/demo/account/activeAccount.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/demo/account/activeAccount.test.ts b/src/tests/demo/account/activeAccount.test.ts index b4644d16..c73296ba 100644 --- a/src/tests/demo/account/activeAccount.test.ts +++ b/src/tests/demo/account/activeAccount.test.ts @@ -9,7 +9,7 @@ import { import * as sdk from "../../../index"; /* - * @replace LOOPRING_EXPORTED_ACCOUNT.exchangeAddress = exchangeInfo.exchangeAddressess + * @replace LOOPRING_EXPORTED_ACCOUNT.exchangeAddress = exchangeInfo.exchangeAddresses * const { exchangeInfo } = await LoopringAPI.exchangeAPI.getExchangeInfo(); */ describe("ActiveAccount", function () { From 2d39ad33199584e210bf8cb8ccca24adba3c8f48 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sun, 23 Feb 2025 12:38:07 +0200 Subject: [PATCH 2/3] Update eddsa_test.ts --- src/api/sign/poseidon/eddsa_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/sign/poseidon/eddsa_test.ts b/src/api/sign/poseidon/eddsa_test.ts index 60440b41..bb41105f 100644 --- a/src/api/sign/poseidon/eddsa_test.ts +++ b/src/api/sign/poseidon/eddsa_test.ts @@ -29,8 +29,8 @@ function test_prehash_message_1() { function test_to_bytes_1() { // console.log("test_to_bytes_1") const arg = BigNumber.from("20693456676802104653139582814194312788878632719314804297029697306071204881418") - const resutls = SignatureScheme.to_bytes(arg) - assert(JSON.stringify(resutls) === JSON.stringify([10, 228, 215, 147, 146, 102, 9, 42, 66, 160, 26, 94, 171, 73, 235, 194, 245, 106, 249, 114, 50, 52, 155, 182, 188, 18, 133, 216, 215, 20, 192, 45])) + const results = SignatureScheme.to_bytes(arg) + assert(JSON.stringify(results) === JSON.stringify([10, 228, 215, 147, 146, 102, 9, 42, 66, 160, 26, 94, 171, 73, 235, 194, 245, 106, 249, 114, 50, 52, 155, 182, 188, 18, 133, 216, 215, 20, 192, 45])) // console.log("test_to_bytes_1 passed") } From 29efb13ff5f45eb3f04ed278130899c8a52770d2 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sun, 23 Feb 2025 12:38:38 +0200 Subject: [PATCH 3/3] Update mintNFT.test.ts --- src/tests/demo/NFTAction/mintNFT.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/demo/NFTAction/mintNFT.test.ts b/src/tests/demo/NFTAction/mintNFT.test.ts index 4fcd2382..3127ba84 100644 --- a/src/tests/demo/NFTAction/mintNFT.test.ts +++ b/src/tests/demo/NFTAction/mintNFT.test.ts @@ -14,7 +14,7 @@ const mockData = { /** * !!!important describe * Follow mehod is the simple way for mint NTF, but this kind of NFT will using the same contact & with no Contract metadata forever on L1, - * New Version of NFT will has it isolate Contract/colletion with metadata inforamtion + * New Version of NFT will has it isolate Contract/colletion with metadata information * From Step 3. nftTokenAddress please follow create `collectionNFT` step create collection(contract), the api will return follow info for mint NFT * tokenAddress: collectionMeta.contractAddress, * counterFactualNftInfo: {