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

fix: Could not start a Geth process with only WS or IPC #2377

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

antazoey
Copy link
Member

@antazoey antazoey commented Nov 6, 2024

What I did

Connecting to an already running IPC process or WS-only geth was working great.
However, I could not start one from the beginning this way...

How I did it

Adjust the implementation geth dev process class to handle more connecton inputs, this is the class that actually manages the process when starting it in the ape-node plugin, not the SubprocessProvider class from ape-ethereum, this one comes from the py-geth package.

How to verify it

WITHOUT ALREADY HAVING IT RUNNING:

node:
  ethereum:
    local:
      uri: ws://localhost:5550
      #uri: "http://localhost:5550"
      #uri: /Users/jules/.ape/node/geth.ipc

Comment out the URI types not being used and ensure it works.

More to test and such, opening PR early...

Checklist

  • All changes are completed
  • New test cases have been added
  • Documentation has been updated

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.

1 participant