Skip to content

fix: typos in documentation files #97

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/api/sign/poseidon/eddsa_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down
2 changes: 1 addition & 1 deletion src/tests/demo/NFTAction/mintNFT.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion src/tests/demo/account/activeAccount.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down