question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Web3 1.0.0] Transactions (.send) should have current return type

See original GitHub issue

send methods in web3 target have incorrect return types.

Here is a failing test proving what’s wrong: https://github.com/ethereum-ts/TypeChain/pull/129 Current return type is T (boolean in that case) where it should be a transaction object.

This could be an error in web3 typings, not necessary in Typechain but it will probably require some changes in typechain as well.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:57 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
vikaskyadavcommented, Dec 14, 2018

Hi, @ceresstation @krzkaczor @nanspro. bishnoi, You can continue working on the issue. I have no issues. I was just interested in trying out the code. 👍

1reaction
spm32commented, Jan 4, 2019

Sorry that this one didn’t work out guys. @nanspro in holiday spirit I’ve still sent you a tip 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Web3 1.0.0] Transactions (.send) should have current return ...
Here is a failing test proving what's wrong: #129 Current return type is T (boolean in that case) where it should be a...
Read more >
web3.eth — web3.js 1.0.0 documentation - Read the Docs
When using web3.js in an Ethereum compatible browser, it will set with the current native provider by that browser. Will return the given...
Read more >
Web3.js 1.2 invocation smart contract method and can not ...
When I invoke the smart contract deployed, I don't get the correct result! I have googled, but can not fine any help. Here...
Read more >
Transferring an ERC-20 using web3js 1.0.0
When I try to include another function (that I know works) inside transferTokens with console logs, they never get logged. So presumably the ......
Read more >
web3.js Documentation - Read the Docs
After that you need to create a web3 instance and set a provider. ... Promise returns Number - The number of transactions sent...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found