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") } 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: { 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 () {