Skip to content
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

0.0.5 tests #2

Open
2 tasks
litecreator opened this issue Jan 28, 2021 · 0 comments
Open
2 tasks

0.0.5 tests #2

litecreator opened this issue Jan 28, 2021 · 0 comments

Comments

@litecreator
Copy link
Contributor

litecreator commented Jan 28, 2021

vapjs-query

Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.

Before opening a new issue, you may find an answer in already closed issues:
https://github.com/vapjs/vapjs-query/issues?q=is%3Aissue+is%3Aclosed

Issue Type

Description

Some tests on 0.0.5 are failing are disabled to allow builds. Revisiting recommended:

  1. 'should function while vap_compileSolidity' yields:
AssertionError: expected [Error: [vapjs-query] while formatting outputs from RPC '{"code":"6060604052600c8060106000396000f360606040523615600a575b00","info":{"source":"pragma solidity ^0.4.0;\n\n      /// @title Voting with delegation.\n      contract Ballot {\n        function () payable {\n        }\n\n        uint cool;\n      }\n      ","language":"Solidity","languageVersion":"0","compilerVersion":"0.4.2+commit.af6afb04.mod.Emscripten.clang","abiDefinition":[{"payable":true,"type":"fallback"}],"userDoc":{"methods":{}},"developerDoc":{"methods":{}}}}' for method 'compileSolidity' TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type object] to equal null
  1. 'should function while vap_getTransactionByBlockHashAndIndex' yields:
AssertionError: expected [Error: [vapjs-query] while formatting outputs from RPC '{"transactionHash":"0x68f1a32a268410d29ce44db27f98b5a5766ad55cc579a974fcd393184ab7b273","transactionIndex":"0x00","blockHash":"0xdc184b7c33365c8dbadb8a42aa988502e58c8d0c3469a01cb0691285eb49410c","blockNumber":"0x01","gasUsed":"0x5208","cumulativeGasUsed":"0x5208","contractAddress":null,"logs":[]}' for method 'getTransactionReceipt' TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type object] to equal null
  1. 'should function while vap_getTransactionByBlockNumberAndIndex' yields:
AssertionError: expected [Error: [vapjs-query] while formatting outputs from RPC '{"transactionHash":"0x247c32ad1822c28f076b1ecb89114844ed69e077134fa532470f5353ee96bce7","transactionIndex":"0x00","blockHash":"0xb644e0747bc394a6a66d97170618c0cf697527eb2c33be1125dbab891272ced6","blockNumber":"0x01","gasUsed":"0x5208","cumulativeGasUsed":"0x5208","contractAddress":null,"logs":[]}' for method 'getTransactionReceipt' TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type object] to equal null
  1. 'should function while vap_getTransactionReceipt' yields:
AssertionError: expected [Error: [vapjs-query] while formatting outputs from RPC '{"transactionHash":"0x27979a27644008a25025c66ba56983fbc7ba0e2a3428a0f2b1c5ab6c81459ef8","transactionIndex":"0x00","blockHash":"0x2657d78aa41440135c7a8e05fa14a5b81e1053218b37d0b76255ff5c301e427a","blockNumber":"0x03","gasUsed":"0x5208","cumulativeGasUsed":"0x5208","contractAddress":null,"logs":[]}' for method 'getTransactionReceipt' TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type object] to equal null

Steps to reproduce

(Add link to a demo on https://jsfiddle.net or similar if possible)

Versions

  • Node/NPM:
  • Browser:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant