testrpc exits when I press ^C.
MetaMask is calling eth_getBlockByNumber, and I want to exit testrpc. Here's the Terminal output:
^Ceth_getBlockByNumber
eth_getBlockByNumber
The ^C doesn't work like it normally does in testrpc.
I often want to restart testrpc while MetaMask is running. In this case, it was to test something with MetaMask.
same here.
I'm seeing the same problem when using ganache-cli
Version used : Ganache CLI v6.0.3 (ganache-core: 2.0.2)
Metamask version : v3.12.0
Environment name and version : iterm2
Operating System and version : Mac OS High Sierra 10.13.1
nodeJS version : v8.6.0
npm version : 5.5.1
Me as well
This is fixed in the current develop branch and will go out with the next beta.
Excellent news ! thanks for the info @benjamincburns :D
with the race condition fix incoming too, stability of the tool is going to be greatly improved ! Nice work from the community ! ( to the mooooooon ? :p )
This issue is fixed in the current beta release of ganache-cli (v6.1.0-beta.0)
Actually, I think it was fixed in the previous beta release as well. Sorry for the confusion.
Fix verified in v6.1.0-beta.0.
Are these infinite eth_getBlockByNumber calls a MetaMask bug? I don't see a related issue on their tracker.
Not a bug. They poll for the latest block number.
Most helpful comment
same here.
Environment