trufflesuite / ganache

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
2.62k stars 673 forks source link

testrpc doesn't work with Mist #1038

Closed gnom1gnom closed 2 years ago

gnom1gnom commented 7 years ago

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

axic commented 7 years ago

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 commented 7 years ago

Any new on this?

aquiladev commented 7 years ago

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

axic commented 7 years ago

trufflesuite/ganache-cli#262 implements support for the personal API. Someone needs to finish and merge it.

cc @tcoulter

ghost commented 7 years ago

Any update on this?

Nedudi commented 7 years ago

Any update on this?

paulofelipe84 commented 6 years ago

Any update on this?

vijaytabhatt commented 6 years ago

any update on this?

jcnauta commented 6 years ago

any update on this?

vguzev commented 6 years ago

Any update on this?

benjamincburns commented 6 years ago

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.

KamnaJ commented 6 years ago

any update on this ??

bulgakovk commented 6 years ago

Any update on this?

benjamincburns commented 6 years ago

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

bulgakovk commented 6 years ago

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

benjamincburns commented 6 years ago

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. https://github.com/ethereum/web3.js/issues/1188

Swader commented 6 years ago

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

cds-amal commented 2 years ago

closing for issue maintenance.