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

Implement Ipc Client #8

Closed
ayrat555 opened this issue Oct 3, 2017 · 41 comments
Closed

Implement Ipc Client #8

ayrat555 opened this issue Oct 3, 2017 · 41 comments

Comments

@ayrat555
Copy link
Member

ayrat555 commented Oct 3, 2017

Implement Ipc Client like HttpClient is implemented (with Ethereumex.Client.Macro)

defmodule Ethereumex.IpcClient do
  use Ethereumex.Client.Macro

  def request(payload) do
    // request with Unix socket
  end
end

Currently there is no decent adapter for Unix sockets in Elixir ecosystem. I think we should try to use procket but its api is too ugly and low level.

After finishing ipcClient HttpClient in SmartContract modules should be replaced with the new client.

@NickPapacostas
Copy link

@ayrat555 I'm interested in working on this, were you thinking of using something like procket to communicate with the socket?

thanks for all your work!

@ayrat555
Copy link
Member Author

ayrat555 commented Dec 12, 2017

@NickPapacostas I'm sorry for a late answer. Yes, I thought about using procket. But as I wrote earlier its interface is very ugly.
I'll try to dig into it in my spare time. Btw PRs are welcome

@plu9in
Copy link

plu9in commented Feb 17, 2018

@ayrat555
Copy link
Member Author

@plu9in Yes, it's possible.

@NickPapacostas wanted to work on this

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 0.4 ETH (199.06 USD @ $497.65/ETH) attached to it.

@gitcoinbot
Copy link

@raininja Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • warning (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@spm32
Copy link

spm32 commented Jun 25, 2018

Hi @NickPapacostas, did you still want to work on this?

@raininja
Copy link

I'm working on it. I will be happy to let it go if there was someone else more interested, or has started work on it.

@raininja
Copy link

raininja commented Jun 27, 2018

I've decided to implement shackle for the IPC Client. I am wondering if it would not be prudent to also upgrade(?) the httpclient at the same time? Or is this approach too heavy? @ayrat555

@ayrat555
Copy link
Member Author

  • why httpclient should be upgraded?
  • does shackle support unix sockets?

@raininja
Copy link

raininja commented Jun 27, 2018

@ayrat555 I was thinking that httpclient would need to be upgraded to sync the two "backends"
and yes, shackle does support unix sockets
If you check jsonrpc-elixir as a reference, they've used shackle and buoy to this effect.

If you think this approach is to heavy/invasive, I can simply use gen_rpc for this

@ayrat555
Copy link
Member Author

Let's use gen_rpc. Thanks

@gitcoinbot
Copy link

@raininja Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • warning (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@raininja due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

  • warning (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@vs77bb
Copy link

vs77bb commented Jul 6, 2018

Hi @raininja are you still working on this one? Hope you are doing well 🙂

@raininja
Copy link

raininja commented Jul 7, 2018

@vs77bb yes I am! All the best!

@raininja
Copy link

raininja commented Jul 8, 2018

Why have I gotten an email saying I was removed from this bounty?

@spm32
Copy link

spm32 commented Jul 8, 2018

Sorry @raininja that's just an automated message from gitcoinbot, you're still on the issue, snoozing the bot now.

@mkosowsk
Copy link

@raininja how's your cornea? :) Think you'll be able to take a look at this issue? Thanks!

@raininja
Copy link

@mkosowsk I'm ok, thanks. I'm actually working on this now, having a bit of an issue as the documentation for the go-ethereum client days one thing but the geth console says another, the APIs don't seem to match

1 similar comment
@raininja
Copy link

@mkosowsk I'm ok, thanks. I'm actually working on this now, having a bit of an issue as the documentation for the go-ethereum client days one thing but the geth console says another, the APIs don't seem to match

@mkosowsk
Copy link

@ayrat555 do you have any insight on @raininja's issue on why the API's don't seem to match? Thanks!

@ayrat555
Copy link
Member Author

Maybe geth's API includes custom methods or methods in the library is out of date

@gitcoinbot
Copy link

@raininja Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • warning (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@raininja due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

  • warning (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@raininja
Copy link

raininja commented Aug 1, 2018

Still working on this, recently submitted a WIP PR

@raininja
Copy link

raininja commented Aug 9, 2018

still plugging away, awaiting some feedback from @ayrat555

@raininja
Copy link

raininja commented Sep 7, 2018

no response in over a month from @ayrat555
not sure how to proceed on this?

@ayrat555
Copy link
Member Author

ayrat555 commented Sep 7, 2018

@raininja I don't see any notable progress there. A lot of commented code, changes in README and json cassette file changes.

@raininja
Copy link

raininja commented Sep 7, 2018

OK, so at least I can see that you've looked at the code. That which is commented out is not implemented, as far as I can tell. I've checked with geth, ganache, and parity. . .

@hswick
Copy link
Collaborator

hswick commented Oct 6, 2018

Hi @ceresstation I would like to register for this bounty. See #40, but according to gitcoin it doesnt seem like I can right now.

@ayrat555
Copy link
Member Author

ayrat555 commented Oct 6, 2018

@raininja can you please unassign yourself from this issue on gitcoin? @hswick has done a pretty good job and his PR will be merged soon

@raininja
Copy link

raininja commented Oct 6, 2018 via email

@ayrat555
Copy link
Member Author

ayrat555 commented Oct 7, 2018

@hswick you should try to assign yourself to the issue on gitcoin

@gitcoinbot
Copy link

gitcoinbot commented Oct 7, 2018

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 3 months, 1 week from now.
Please review their action plans below:

1) hswick has started work.

Finish up Pull Request-
Documentation
Handle config more gracefully
Include Parity binary

Learn more on the Gitcoin Issue Details page.

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 0.4 ETH (89.85 USD @ $224.62/ETH) has been submitted by:

  1. @hswick

@ceresstation please take a look at the submitted work:


@ayrat555
Copy link
Member Author

@ceresstation ping

@hswick
Copy link
Collaborator

hswick commented Nov 2, 2018

@ceresstation pong

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 0.4 ETH (84.82 USD @ $212.04/ETH) attached to this issue has been approved & issued to @hswick.

@spm32
Copy link

spm32 commented Nov 12, 2018

Sorry about that @hswick, lost track of this in the conference rush, just paid you out!

@hswick
Copy link
Collaborator

hswick commented Nov 12, 2018

Thanks @ceresstation appreciate it!

@hswick hswick closed this as completed Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants