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

Use a proper factory pattern for instantiating the ethereum client #14

Merged
merged 1 commit into from
Mar 14, 2018
Merged

Use a proper factory pattern for instantiating the ethereum client #14

merged 1 commit into from
Mar 14, 2018

Conversation

amateescu
Copy link
Collaborator

Currently, the ethereum client is instantiated in EthereumController and used in various places, but that's not really the purpose of controllers :)

Instead, we should have a service for getting the ethereum client, and a factory service for instantiating it.

This PR also cleans up a bit the files which were using the ethereum client, and makes the status report page work on my local ganache dev environment.

@digitaldonkey digitaldonkey self-assigned this Mar 11, 2018
@digitaldonkey
Copy link
Owner

Thank you this looks pretty great! I'll merge it soon.

@digitaldonkey digitaldonkey merged commit 961e4ec into digitaldonkey:8.x-1.x Mar 14, 2018
@amateescu amateescu deleted the use_a_factory_for_ethereum_client branch March 14, 2018 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants