Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Add support for Geth #20

Open
nventuro opened this issue Nov 21, 2019 · 4 comments
Open

Add support for Geth #20

nventuro opened this issue Nov 21, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@nventuro
Copy link
Contributor

It shouldn't be hard to change the underlying local blockchain to a geth instance in dev mode. While ganache has certain features that geth lacks (like time manipulation), there are still some small differences between geth and ganache, and many users will find this useful.

As far as I know, it is not possible to configure geth with a set of private keys, like we do on ganache-core. We should be able however to have those accounts in the provider itself, by adding a step to the setup process where the initial account funds these. This goes in line with the geth team recommending not using the client to store private keys.

@tinchoabbate
Copy link

You might want to take this one trufflesuite/truffle#624 into account too, perhaps it becomes an issue during your tests against Geth. I lost several hours of why on earth are my tests not running until I ran into that issue. So I hope I'll save you some time :)

@nventuro
Copy link
Contributor Author

Hm, I'm surprised that issue is still around, the web3 1.0 should've taken care of that. We'll keep it in mind, thanks!

@abcoathup abcoathup added the enhancement New feature or request label Jan 31, 2020
@vicnaum
Copy link

vicnaum commented Feb 25, 2020

I assume there's no option of connecting to a locally installed Ganache either?

@frangio
Copy link
Contributor

frangio commented Feb 26, 2020

@vicnaum No, but in that case I don't see what benefit there would be to using Test Environment! The main feature is that it will spin up Ganache for you and stop it when your tests end.

Let us know what use case you had in mind so we can consider implementing support for it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants