ground-x / caver-js-ext-kas

Apache License 2.0
13 stars 15 forks source link

Check error code instead of message #92

Closed jimni1222 closed 3 years ago

jimni1222 commented 3 years ago

Proposed changes

This PR introduces check error code instead of message.

Types of changes

Please put an x in the boxes related to your change.

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Related issues

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

michael-gx commented 3 years ago

KAS v1.1.5 integration test result on commit hash 94abad0a3e1be67d561ecb588af315575f552ffd


> caver-js-ext-kas@1.1.1 intTestQA /Users/michael/workspace/src/github.com/ground-x/6-caver-js-kas
> npm run intNodeAPITestQA && mocha ./test/intTest/*.js --testEnv=qa

> caver-js-ext-kas@1.1.1 intNodeAPITestQA /Users/michael/workspace/src/github.com/ground-x/6-caver-js-kas
> mocha ./test/nodeAPI/testNodeAPI.js --testEnv=qa

  Node API service enabling
    caver.initNodeAPI
      ✓ should return error if nodeAPI is not initialized
      ✓ should set valid headers to provider with x-chain-id and auth

  Node API service
    caver.rpc.klay APIs
      ✓ should use json rpc call of Klaytn thourgh KAS (2025ms)

  3 passing (4s)

  Anchor API service
    ✓ CAVERJS-EXT-KAS-INT-001: caver.kas.anchor.sendAnchoringData should send post request to anchor data (138ms)
    ✓ CAVERJS-EXT-KAS-INT-002: caver.kas.anchor.getAnchoringTransactionList should query anchoring txs (3165ms)
    ✓ CAVERJS-EXT-KAS-INT-003: caver.kas.anchor.getAnchoringTransactionByTxHash should query anchoring tx by transaction hash (58ms)
    ✓ CAVERJS-EXT-KAS-INT-004: caver.kas.anchor.getAnchoringTransactionByPayloadId should query anchoring tx by payload id (79ms)
    ✓ CAVERJS-EXT-KAS-INT-005: caver.kas.anchor.getOperatorList should query operators (59ms)
    ✓ CAVERJS-EXT-KAS-INT-006: caver.kas.anchor.getOperator should query operator (71ms)

  KAS Wallet
    ✓ CAVERJS-EXT-KAS-INT-115: caver.wallet.generate generates an account in KAS Wallet API Service without parameter (208ms)
    ✓ CAVERJS-EXT-KAS-INT-116: caver.wallet.generate generates accounts in KAS Wallet API Service with number of accounts parameter (468ms)
    ✓ CAVERJS-EXT-KAS-INT-117: caver.wallet.getAccount returns account from KAS Wallet API Service (65ms)
    ✓ CAVERJS-EXT-KAS-INT-118: caver.wallet.getAccount rejects if account is not existed in KAS Wallet API Service (85ms)
    ✓ CAVERJS-EXT-KAS-INT-119: caver.wallet.isExisted returns true if account is existed in KAS Wallet API Service (64ms)
    ✓ CAVERJS-EXT-KAS-INT-120: caver.wallet.isExisted returns false if account is not existed in KAS Wallet API Service (61ms)
    ✓ CAVERJS-EXT-KAS-INT-121: caver.wallet.remove returns false if account is not existed in KAS Wallet API Service (232ms)
    ✓ CAVERJS-EXT-KAS-INT-122: caver.wallet.remove rejects if use tried to remove an account which is not existed in KAS Wallet API Service (73ms)
    ✓ CAVERJS-EXT-KAS-INT-123: caver.wallet.disableAccount deactivates an account in KAS Wallet API Service (262ms)
    ✓ CAVERJS-EXT-KAS-INT-124: caver.wallet.disableAccount rejects if use tried to deactivate an account which is not existed in KAS Wallet API Service (78ms)
    ✓ CAVERJS-EXT-KAS-INT-125: caver.wallet.enableAccount activates an account in KAS Wallet API Service (262ms)
    ✓ CAVERJS-EXT-KAS-INT-126: caver.wallet.enableAccount rejects if use tried to activate an account which is not existed in KAS Wallet API Service (57ms)
    ✓ CAVERJS-EXT-KAS-INT-127: caver.wallet.sign signs the legacy transaction with the account in KAS Wallet API Service (182ms)
    ✓ CAVERJS-EXT-KAS-INT-128: caver.wallet.sign rejets when the legacy transaction has signatures (53ms)
    ✓ CAVERJS-EXT-KAS-INT-129: caver.wallet.sign signs the value transfer transaction with the account in KAS Wallet API Service (188ms)
    ✓ CAVERJS-EXT-KAS-INT-130: caver.wallet.sign appends signatures to the value transfer transaction (194ms)
    ✓ CAVERJS-EXT-KAS-INT-131: caver.wallet.sign signs the value transfer memo transaction with the account in KAS Wallet API Service (173ms)
    ✓ CAVERJS-EXT-KAS-INT-132: caver.wallet.sign appends signatures to the value transfer memo transaction (200ms)
    ✓ CAVERJS-EXT-KAS-INT-133: caver.wallet.sign signs the smart contract deploy transaction with the account in KAS Wallet API Service (183ms)
    ✓ CAVERJS-EXT-KAS-INT-134: caver.wallet.sign appends signatures to the smart contract deploy transaction (191ms)
    ✓ CAVERJS-EXT-KAS-INT-135: caver.wallet.sign signs the smart contract deploy transaction with the account in KAS Wallet API Service (252ms)
    ✓ CAVERJS-EXT-KAS-INT-136: caver.wallet.sign appends signatures to the smart contract deploy transaction (194ms)
    ✓ CAVERJS-EXT-KAS-INT-137: caver.wallet.sign signs the account update transaction with the account in KAS Wallet API Service (225ms)
    ✓ CAVERJS-EXT-KAS-INT-138: caver.wallet.sign appends signatures to the account update transaction (279ms)
    ✓ CAVERJS-EXT-KAS-INT-139: caver.wallet.sign signs the cancel transaction with the account in KAS Wallet API Service (193ms)
    ✓ CAVERJS-EXT-KAS-INT-140: caver.wallet.sign appends signatures to the cancel transaction (178ms)
    ✓ CAVERJS-EXT-KAS-INT-141: caver.wallet.sign signs the chain data anchoring transaction with the account in KAS Wallet API Service (185ms)
    ✓ CAVERJS-EXT-KAS-INT-142: caver.wallet.sign appends signatures to the chain data anchoring transaction (197ms)
    ✓ CAVERJS-EXT-KAS-INT-143: caver.wallet.sign signs the fee delegated value transfer transaction with the account in KAS Wallet API Service (192ms)
    ✓ CAVERJS-EXT-KAS-INT-144: caver.wallet.sign appends signatures to the fee delegated value transfer transaction (201ms)
    ✓ CAVERJS-EXT-KAS-INT-145: caver.wallet.sign signs the fee delegated value transfer memo transaction with the account in KAS Wallet API Service (206ms)
    ✓ CAVERJS-EXT-KAS-INT-146: caver.wallet.sign appends signatures to the fee delegated value transfer memo transaction (205ms)
    ✓ CAVERJS-EXT-KAS-INT-147: caver.wallet.sign signs the fee delegated smart contract deploy transaction with the account in KAS Wallet API Service (209ms)
    ✓ CAVERJS-EXT-KAS-INT-148: caver.wallet.sign appends signatures to the fee delegated smart contract deploy transaction (189ms)
    ✓ CAVERJS-EXT-KAS-INT-149: caver.wallet.sign signs the fee delegated smart contract deploy transaction with the account in KAS Wallet API Service (215ms)
    ✓ CAVERJS-EXT-KAS-INT-150: caver.wallet.sign appends signatures to the fee delegated smart contract deploy transaction (203ms)
    ✓ CAVERJS-EXT-KAS-INT-151: caver.wallet.sign signs the fee delegated account update transaction with the account in KAS Wallet API Service (216ms)
    ✓ CAVERJS-EXT-KAS-INT-152; caver.wallet.sign appends signatures to the fee delegated account update transaction (204ms)
    ✓ CAVERJS-EXT-KAS-INT-153: caver.wallet.sign signs the fee delegated cancel transaction with the account in KAS Wallet API Service (221ms)
    ✓ CAVERJS-EXT-KAS-INT-154: caver.wallet.sign appends signatures to the fee delegated cancel transaction (245ms)
    ✓ CAVERJS-EXT-KAS-INT-155: caver.wallet.sign signs the fee delegated chain data anchoring transaction with the account in KAS Wallet API Service (220ms)
    ✓ CAVERJS-EXT-KAS-INT-156: caver.wallet.sign appends signatures to the fee delegated chain data anchoring transaction (219ms)
    ✓ CAVERJS-EXT-KAS-INT-157: caver.wallet.sign signs the fee delegated value transfer with ratio transaction with the account in KAS Wallet API Service (217ms)
    ✓ CAVERJS-EXT-KAS-INT-158: caver.wallet.sign appends signatures to the fee delegated value transfer with ratio transaction (214ms)
    ✓ CAVERJS-EXT-KAS-INT-159: caver.wallet.sign signs the fee delegated value transfer memo with ratio transaction with the account in KAS Wallet API Service (218ms)
    ✓ CAVERJS-EXT-KAS-INT-160: caver.wallet.sign appends signatures to the fee delegated value transfer memo with ratio transaction (579ms)
    ✓ CAVERJS-EXT-KAS-INT-161: caver.wallet.sign signs the fee delegated smart contract deploy with ratio transaction with the account in KAS Wallet API Service (464ms)
    ✓ CAVERJS-EXT-KAS-INT-162: caver.wallet.sign appends signatures to the fee delegated smart contract deploy with ratio transaction (297ms)
    ✓ CAVERJS-EXT-KAS-INT-163: caver.wallet.sign signs the fee delegated smart contract deploy with ratio transaction with the account in KAS Wallet API Service (231ms)
    ✓ CAVERJS-EXT-KAS-INT-164: caver.wallet.sign appends signatures to the fee delegated smart contract deploy with ratio transaction (203ms)
    ✓ CAVERJS-EXT-KAS-INT-165: caver.wallet.sign signs the fee delegated account update with ratio transaction with the account in KAS Wallet API Service (300ms)
    ✓ CAVERJS-EXT-KAS-INT-166: caver.wallet.sign appends signatures to the fee delegated account update with ratio transaction (210ms)
    ✓ CAVERJS-EXT-KAS-INT-167: caver.wallet.sign signs the fee delegated cancel with ratio transaction with the account in KAS Wallet API Service (185ms)
    ✓ CAVERJS-EXT-KAS-INT-168: caver.wallet.sign appends signatures to the fee delegated cancel with ratio transaction (194ms)
    ✓ CAVERJS-EXT-KAS-INT-169: caver.wallet.sign signs the fee delegated chain data anchoring with ratio transaction with the account in KAS Wallet API Service (212ms)
    ✓ CAVERJS-EXT-KAS-INT-170: caver.wallet.sign appends signatures to the fee delegated chain data anchoring with ratio transaction (291ms)
    ✓ CAVERJS-EXT-KAS-INT-171: caver.wallet.signAsFeePayer signs the fee delegated value transfer transaction as fee payer with the account in KAS Wallet API Service (226ms)
    ✓ CAVERJS-EXT-KAS-INT-172: caver.wallet.signAsFeePayer appends feePayerSignatures to the fee delegated value transfer transaction (243ms)
    ✓ CAVERJS-EXT-KAS-INT-173: caver.wallet.signAsFeePayer signs the fee delegated value transfer memo transaction as fee payer with the account in KAS Wallet API Service (211ms)
    ✓ CAVERJS-EXT-KAS-INT-174: caver.wallet.signAsFeePayer appends feePayerSignatures to the fee delegated value transfer memo transaction (230ms)
    ✓ CAVERJS-EXT-KAS-INT-175: caver.wallet.signAsFeePayer signs the fee delegated smart contract deploy transaction as fee payer with the account in KAS Wallet API Service (192ms)
    ✓ CAVERJS-EXT-KAS-INT-176: caver.wallet.signAsFeePayer appends feePayerSignatures to the fee delegated smart contract deploy transaction (211ms)
    ✓ CAVERJS-EXT-KAS-INT-177: caver.wallet.signAsFeePayer signs the fee delegated smart contract deploy transaction as fee payer with the account in KAS Wallet API Service (198ms)
    ✓ CAVERJS-EXT-KAS-INT-178: caver.wallet.signAsFeePayer appends feePayerSignatures to the fee delegated smart contract deploy transaction (219ms)
    ✓ CAVERJS-EXT-KAS-INT-179: caver.wallet.signAsFeePayer signs the fee delegated account update transaction as fee payer with the account in KAS Wallet API Service (235ms)
    ✓ CAVERJS-EXT-KAS-INT-180: caver.wallet.signAsFeePayer appends feePayerSignatures to the fee delegated account update transaction (237ms)
    ✓ CAVERJS-EXT-KAS-INT-181: caver.wallet.signAsFeePayer signs the fee delegated cancel transaction as fee payer with the account in KAS Wallet API Service (263ms)
    ✓ CAVERJS-EXT-KAS-INT-182: caver.wallet.signAsFeePayer appends feePayerSignatures to the fee delegated cancel transaction (207ms)
    ✓ CAVERJS-EXT-KAS-INT-183: caver.wallet.signAsFeePayer signs the fee delegated chain data anchoring transaction as fee payer with the account in KAS Wallet API Service (232ms)
    ✓ CAVERJS-EXT-KAS-INT-184: caver.wallet.signAsFeePayer appends feePayerSignatures to the fee delegated chain data anchoring transaction (297ms)
    ✓ CAVERJS-EXT-KAS-INT-185: caver.wallet.signAsFeePayer signs the fee delegated value transfer with ratio transaction as fee payer with the account in KAS Wallet API Service (218ms)
    ✓ CAVERJS-EXT-KAS-INT-186: caver.wallet.signAsFeePayer appends feePayerSignatures to the fee delegated value transfer with ratio transaction (234ms)
    ✓ CAVERJS-EXT-KAS-INT-187: caver.wallet.signAsFeePayer signs the fee delegated value transfer memo with ratio transaction as fee payer with the account in KAS Wallet API Service (194ms)
    ✓ CAVERJS-EXT-KAS-INT-188: caver.wallet.signAsFeePayer appends feePayerSignatures to the fee delegated value transfer memo with ratio transaction (310ms)
    ✓ CAVERJS-EXT-KAS-INT-189: caver.wallet.signAsFeePayer signs the fee delegated smart contract deploy with ratio transaction as fee payer with the account in KAS Wallet API Service (199ms)
    ✓ CAVERJS-EXT-KAS-INT-190: caver.wallet.signAsFeePayer appends feePayerSignatures to the fee delegated smart contract deploy with ratio transaction (203ms)
    ✓ CAVERJS-EXT-KAS-INT-191: caver.wallet.signAsFeePayer signs the fee delegated smart contract deploy with ratio transaction as fee payer with the account in KAS Wallet API Service (196ms)
    ✓ CAVERJS-EXT-KAS-INT-192: caver.wallet.signAsFeePayer appends feePayerSignatures to the fee delegated smart contract deploy with ratio transaction (221ms)
    ✓ CAVERJS-EXT-KAS-INT-193: caver.wallet.signAsFeePayer signs the fee delegated account update with ratio transaction as fee payer with the account in KAS Wallet API Service (286ms)
    ✓ CAVERJS-EXT-KAS-INT-194: caver.wallet.signAsFeePayer appends feePayerSignatures to the fee delegated account update with ratio transaction (192ms)
    ✓ CAVERJS-EXT-KAS-INT-195: caver.wallet.signAsFeePayer signs the fee delegated cancel with ratio transaction as fee payer with the account in KAS Wallet API Service (212ms)
    ✓ CAVERJS-EXT-KAS-INT-196: caver.wallet.signAsFeePayer appends feePayerSignatures to the fee delegated cancel with ratio transaction (220ms)
    ✓ CAVERJS-EXT-KAS-INT-197: caver.wallet.signAsFeePayer signs the fee delegated chain data anchoring with ratio transaction as fee payer with the account in KAS Wallet API Service (263ms)
    ✓ CAVERJS-EXT-KAS-INT-198: caver.wallet.signAsFeePayer appends feePayerSignatures to the fee delegated chain data anchoring with ratio transaction (205ms)
    ✓ CAVERJS-EXT-KAS-INT-199: caver.wallet.signAsGlobalFeePayer signs the fee delegated value transfer transaction as fee payer with the account in KAS Wallet API Service (157ms)
    ✓ CAVERJS-EXT-KAS-INT-200: caver.wallet.signAsGlobalFeePayer appends feePayerSignatures to the fee delegated value transfer transaction (253ms)
    ✓ CAVERJS-EXT-KAS-INT-201: caver.wallet.signAsGlobalFeePayer signs the fee delegated value transfer memo transaction as fee payer with the account in KAS Wallet API Service (151ms)
    ✓ CAVERJS-EXT-KAS-INT-202: caver.wallet.signAsGlobalFeePayer appends feePayerSignatures to the fee delegated value transfer memo transaction (275ms)
    ✓ CAVERJS-EXT-KAS-INT-203: caver.wallet.signAsGlobalFeePayer signs the fee delegated smart contract deploy transaction as fee payer with the account in KAS Wallet API Service (197ms)
    ✓ CAVERJS-EXT-KAS-INT-204: caver.wallet.signAsGlobalFeePayer appends feePayerSignatures to the fee delegated smart contract deploy transaction (247ms)
    ✓ CAVERJS-EXT-KAS-INT-205: caver.wallet.signAsGlobalFeePayer signs the fee delegated smart contract deploy transaction as fee payer with the account in KAS Wallet API Service (151ms)
    ✓ CAVERJS-EXT-KAS-INT-206: caver.wallet.signAsGlobalFeePayer appends feePayerSignatures to the fee delegated smart contract deploy transaction (248ms)
    ✓ CAVERJS-EXT-KAS-INT-207: caver.wallet.signAsGlobalFeePayer signs the fee delegated account update transaction as fee payer with the account in KAS Wallet API Service (203ms)
    ✓ CAVERJS-EXT-KAS-INT-208: caver.wallet.signAsGlobalFeePayer appends feePayerSignatures to the fee delegated account update transaction (279ms)
    ✓ CAVERJS-EXT-KAS-INT-209: caver.wallet.signAsGlobalFeePayer signs the fee delegated cancel transaction as fee payer with the account in KAS Wallet API Service (161ms)
    ✓ CAVERJS-EXT-KAS-INT-210: caver.wallet.signAsGlobalFeePayer appends feePayerSignatures to the fee delegated cancel transaction (240ms)
    ✓ CAVERJS-EXT-KAS-INT-211: caver.wallet.signAsGlobalFeePayer signs the fee delegated chain data anchoring transaction as fee payer with the account in KAS Wallet API Service (147ms)
    ✓ CAVERJS-EXT-KAS-INT-212: caver.wallet.signAsGlobalFeePayer appends feePayerSignatures to the fee delegated chain data anchoring transaction (308ms)
    ✓ CAVERJS-EXT-KAS-INT-213: caver.wallet.signAsGlobalFeePayer signs the fee delegated value transfer with ratio transaction as fee payer with the account in KAS Wallet API Service (153ms)
    ✓ CAVERJS-EXT-KAS-INT-214: caver.wallet.signAsGlobalFeePayer appends feePayerSignatures to the fee delegated value transfer with ratio transaction (259ms)
    ✓ CAVERJS-EXT-KAS-INT-215: caver.wallet.signAsGlobalFeePayer signs the fee delegated value transfer memo with ratio transaction as fee payer with the account in KAS Wallet API Service (149ms)
    ✓ CAVERJS-EXT-KAS-INT-216: caver.wallet.signAsGlobalFeePayer appends feePayerSignatures to the fee delegated value transfer memo with ratio transaction (275ms)
    ✓ CAVERJS-EXT-KAS-INT-217: caver.wallet.signAsGlobalFeePayer signs the fee delegated smart contract deploy with ratio transaction as fee payer with the account in KAS Wallet API Service (224ms)
    ✓ CAVERJS-EXT-KAS-INT-218: caver.wallet.signAsGlobalFeePayer appends feePayerSignatures to the fee delegated smart contract deploy with ratio transaction (247ms)
    ✓ CAVERJS-EXT-KAS-INT-219: caver.wallet.signAsGlobalFeePayer signs the fee delegated smart contract deploy with ratio transaction as fee payer with the account in KAS Wallet API Service (142ms)
    ✓ CAVERJS-EXT-KAS-INT-220: caver.wallet.signAsGlobalFeePayer appends feePayerSignatures to the fee delegated smart contract deploy with ratio transaction (243ms)
    ✓ CAVERJS-EXT-KAS-INT-221: caver.wallet.signAsGlobalFeePayer signs the fee delegated account update with ratio transaction as fee payer with the account in KAS Wallet API Service (162ms)
    ✓ CAVERJS-EXT-KAS-INT-222: caver.wallet.signAsGlobalFeePayer appends feePayerSignatures to the fee delegated account update with ratio transaction (326ms)
    ✓ CAVERJS-EXT-KAS-INT-223: caver.wallet.signAsGlobalFeePayer signs the fee delegated cancel with ratio transaction as fee payer with the account in KAS Wallet API Service (160ms)
    ✓ CAVERJS-EXT-KAS-INT-224: caver.wallet.signAsGlobalFeePayer appends feePayerSignatures to the fee delegated cancel with ratio transaction (238ms)
    ✓ CAVERJS-EXT-KAS-INT-225: caver.wallet.signAsGlobalFeePayer signs the fee delegated chain data anchoring with ratio transaction as fee payer with the account in KAS Wallet API Service (180ms)
    ✓ CAVERJS-EXT-KAS-INT-226: caver.wallet.signAsGlobalFeePayer appends feePayerSignatures to the fee delegated chain data anchoring with ratio transaction (295ms)
    ✓ CAVERJS-EXT-KAS-INT-227: caver.contract deploys contract with an account in KAS Wallet API Service (4800ms)
    ✓ CAVERJS-EXT-KAS-INT-228: caver.contract execute contract with an account in KAS Wallet API Service (2488ms)
    ✓ CAVERJS-EXT-KAS-INT-229: caver.kct.kip7 deploys KIP-7 contract with an account in KAS Wallet API Service (3612ms)
    ✓ CAVERJS-EXT-KAS-INT-230: caver.contract execute KIP-7 contract with an account in KAS Wallet API Service (2468ms)
    ✓ CAVERJS-EXT-KAS-INT-231: caver.kct.kip17 deploys KIP-17 contract with an account in KAS Wallet API Service (3615ms)
    ✓ CAVERJS-EXT-KAS-INT-232: caver.contract execute KIP-17 contract with an account in KAS Wallet API Service (2478ms)

  KIP17 API service
    ✓ CAVERJS-EXT-KAS-INT-247: caver.kas.kip17.deploy should deploy KIP-17 token contract (123ms)
    ✓ CAVERJS-EXT-KAS-INT-248: caver.kas.kip17.getContractList should return KIP-17 token contract list (10204ms)
    ✓ CAVERJS-EXT-KAS-INT-249: caver.kas.kip17.getContract should return KIP-17 token contract (132ms)
    ✓ CAVERJS-EXT-KAS-INT-250: caver.kas.kip17.mint should mint KIP-17 token (670ms)
    ✓ CAVERJS-EXT-KAS-INT-251: caver.kas.kip17.getTokenList should return token list in specific KIP-17 token (10228ms)
    ✓ CAVERJS-EXT-KAS-INT-252: caver.kas.kip17.approve should approve token operation of specific token (10218ms)
    ✓ CAVERJS-EXT-KAS-INT-253: caver.kas.kip17.transfer should transfer token when sender and owner are same (10206ms)
    ✓ CAVERJS-EXT-KAS-INT-254: caver.kas.kip17.transfer should transfer token when sender and owner are different (10219ms)
    ✓ CAVERJS-EXT-KAS-INT-255: caver.kas.kip17.burn should burn token (10216ms)
    ✓ CAVERJS-EXT-KAS-INT-256: caver.kas.kip17.approveAll should approve all tokens operation of specific token (10246ms)
    ✓ CAVERJS-EXT-KAS-INT-257: caver.kas.kip17.getTokenListByOwner should return token list by owner (161ms)
    ✓ CAVERJS-EXT-KAS-INT-258: caver.kas.kip17.getTransferHistory should return transfer history of token (140ms)

  TokenHistory API service
    ✓ CAVERJS-EXT-KAS-INT-007: caver.kas.tokenHistory.getTransferHistory should query transfer history (1086ms)
    ✓ CAVERJS-EXT-KAS-INT-008: caver.kas.tokenHistory.getTransferHistoryByTxHash should query transaction (69ms)
    ✓ CAVERJS-EXT-KAS-INT-009: caver.kas.tokenHistory.getTransferHistoryByAccount should query transaction by account (48ms)
    ✓ CAVERJS-EXT-KAS-INT-010: caver.kas.tokenHistory.getFTContractList should query FT contract list (74ms)
    ✓ CAVERJS-EXT-KAS-INT-011: caver.kas.tokenHistory.getFTContract should query FT contract (71ms)
    ✓ CAVERJS-EXT-KAS-INT-012: caver.kas.tokenHistory.getNFTContractList should query NFT contract list (67ms)
    ✓ CAVERJS-EXT-KAS-INT-013: caver.kas.tokenHistory.getNFTContract should query NFT contract (69ms)
    ✓ CAVERJS-EXT-KAS-INT-014: caver.kas.tokenHistory.getNFTList should query NFT list issued in specific NFT contract (60ms)
    ✓ CAVERJS-EXT-KAS-INT-015: caver.kas.tokenHistory.getNFTListByOwner should query NFT list issued in specific NFT contract by owner (69ms)
    ✓ CAVERJS-EXT-KAS-INT-016: caver.kas.tokenHistory.getNFT should query NFT issued in specific NFT contract by owner (49ms