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

testrpc doesn't work with Mist #236

Open
gnom1gnom opened this issue Jan 3, 2017 · 17 comments
Open

testrpc doesn't work with Mist #236

gnom1gnom opened this issue Jan 3, 2017 · 17 comments

Comments

@gnom1gnom
Copy link

@gnom1gnom gnom1gnom commented Jan 3, 2017

Steps to Reproduce (for bugs)

  1. Start testrpc
  2. Start Mist with --rpc localhost:8545
  3. Select any account and try to send ether

Current Behavior

First in the tranasaction window threre's a warning:

It seems this transaction will fail. If you submit it, it may consume all the gas you send.

and

Estimated fee consumption: We couldn't estimate the gas.

Then after clicking on send transaction following message is displayed:

Error: RPC method personal_signAndSendTransaction not supported.
at GethApiDouble.handleRequest (C:\Users\jondoe\AppData\Roaming\npm\node_modules\ethereumjs-testrpc\lib\subproviders\geth_api_double.js:49:16)
at next (C:\Users\jondoe\AppData\Roaming\npm\node_modules\ethereumjs-testrpc\node_modules\web3-provider-engine\index.js:95:18)
at SolcSubprovider.handleRequest (C:\Users\jondoe\AppData\Roaming\npm\node_modules\ethereumjs-testrpc\node_modules\web3-provider-engine\subproviders\solc.js:28:7)
at next (C:\Users\jondoe\AppData\Roaming\npm\node_modules\ethereumjs-testrpc\node_modules\web3-provider-engine\index.js:95:18)
at VmSubprovider.handleRequest (C:\Users\jondoe\AppData\Roaming\npm\node_modules\ethereumjs-testrpc\node_modules\web3-provider-engine\subproviders\vm.js:40:12)
at next (C:\Users\jondoe\AppData\Roaming\npm\node_modules\ethereumjs-testrpc\node_modules\web3-provider-engine\index.js:95:18)
at GethDefaults.handleRequest (C:\Users\jondoe\AppData\Roaming\npm\node_modules\ethereumjs-testrpc\lib\subproviders\gethdefaults.js:17:12)
at next (C:\Users\jondoe\AppData\Roaming\npm\node_modules\ethereumjs-testrpc\node_modules\web3-provider-engine\index.js:95:18)
at FilterSubprovider.handleRequest (C:\Users\jondoe\AppData\Roaming\npm\node_modules\ethereumjs-testrpc\node_modules\web3-provider-engine\subproviders\filters.js:87:7)
at next (C:\Users\jondoe\AppData\Roaming\npm\node_modules\ethereumjs-testrpc\node_modules\web3-provider-engine\index.js:95:18)

Context

I'm trying to test my contracts using Mist started with --rpc localhost:8545 to connect to testrpc.
Test accounts are listed properly with their actual balance.
Problems starts when I try to create a contract or send ether.

Your Environment

  • Version used:
  • Environment name and version: TestRPC v3.0.3, Mist 0.8.7
  • Operating System and version: Windows 7 SP1
  • Link to your project:
@axic
Copy link
Contributor

@axic axic commented Feb 14, 2017

Note that personal_signAndSendTransaction is an obsolete RPC method, it was replaced by personal_sendTransaction. Latest geth supports that, I assume the lastest Mist release does too.

@reiven
Copy link

@reiven reiven commented Mar 16, 2017

Any new on this?

@aquiladev
Copy link

@aquiladev aquiladev commented Mar 22, 2017

@axic Latest Mist(@0.8.9) doesn't work.

@axic
Copy link
Contributor

@axic axic commented Mar 22, 2017

#262 implements support for the personal API. Someone needs to finish and merge it.

cc @tcoulter

@ghost
Copy link

@ghost ghost commented Jun 21, 2017

Any update on this?

2 similar comments
@Nedudi
Copy link

@Nedudi Nedudi commented Aug 17, 2017

Any update on this?

@paulofelipe84
Copy link

@paulofelipe84 paulofelipe84 commented Sep 5, 2017

Any update on this?

@vijaytabhatt
Copy link

@vijaytabhatt vijaytabhatt commented Sep 28, 2017

any update on this?

1 similar comment
@jcnauta
Copy link

@jcnauta jcnauta commented Oct 16, 2017

any update on this?

@vguzev
Copy link

@vguzev vguzev commented Oct 19, 2017

Any update on this?

@benjamincburns
Copy link
Contributor

@benjamincburns benjamincburns commented Oct 20, 2017

Any update on this? :trollface:

Sorry guys, @tcoulter was spread a bit thin and hasn't had as much time as he'd like to work on TestRPC, which is where I come in...

I'm still working on going through the backlog, but I'll take this one as higher priority. I'm still coming up to speed, but I'll put this on my "sooner rather than later" list.

Per @axic if personal_signAndSendTransaction is obsolete we likely won't add it. I will however have a look at what's necessary to get latest Mist working with TestRPC.

@benjamincburns benjamincburns self-assigned this Oct 20, 2017
@KamnaJ
Copy link

@KamnaJ KamnaJ commented Nov 8, 2017

any update on this ??

@bulgakovk
Copy link

@bulgakovk bulgakovk commented Nov 15, 2017

Any update on this?

@benjamincburns
Copy link
Contributor

@benjamincburns benjamincburns commented Nov 20, 2017

I promise this is a high priority for me and that I'll post back here when there's some news.

@bulgakovk
Copy link

@bulgakovk bulgakovk commented Nov 20, 2017

@benjamincburns Great! Can't wait good news from you!

@benjamincburns
Copy link
Contributor

@benjamincburns benjamincburns commented Nov 21, 2017

I'm not certain that WebSockets are a requirement for Mist, but I think IPC is. Either way, this issue is somewhat blocking progress on those two fronts, should anyone wish to lend a helping hand. ethereum/web3.js#1188

@Swader
Copy link

@Swader Swader commented Jan 22, 2018

@benjamincburns any update on this? 1188 seems closed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
14 participants
You can’t perform that action at this time.