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

Invalid bytes string error fixed #2608

Merged
merged 3 commits into from
Mar 29, 2019
Merged

Invalid bytes string error fixed #2608

merged 3 commits into from
Mar 29, 2019

Conversation

nivida
Copy link
Contributor

@nivida nivida commented Mar 29, 2019

Description

If the response is '0x' then it will return 'null'.

Fixes #2527 #2499 #2444

Type of change

  • Bug fix

Checklist:

  • I have selected the correct base branch.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no warnings.
  • I have updated or added types for all modules I've changed
  • Any dependent changes have been merged and published in downstream modules.
  • I ran npm run test in the root folder with success and extended the tests if necessary.
  • I ran npm run build in the root folder and tested it in the browser and with node.
  • I ran npm run dtslint in the root folder and tested that all my types are correct
  • I have tested my code on an ethereum test network.

@nivida nivida added Bug Addressing a bug In Progress Currently being worked on labels Mar 29, 2019
@nivida nivida removed the In Progress Currently being worked on label Mar 29, 2019
@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.692% when pulling 99d7544 on issue/2527 into 5dccc72 on 1.0.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.692% when pulling 99d7544 on issue/2527 into 5dccc72 on 1.0.

@coveralls
Copy link

coveralls commented Mar 29, 2019

Coverage Status

Coverage remained the same at 95.692% when pulling 99d7544 on issue/2527 into 5dccc72 on 1.0.

@MacdaraD
Copy link

MacdaraD commented Apr 1, 2019

I am still getting this error running on a local node with the most up to date versions of geth, nodejs and web3. I understand that if there's any hope of you solving my problem you'll need more information than that so let me know what you may need and I'll supply it (provided you have time to answer me).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Addressing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting Error: Invalid bytes string given: 0x [web3@1.0.0-beta.48] on simple Solidity view function
3 participants