Skip to content

Commit

Permalink
fix: use pygeth ipc path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Nov 21, 2024
1 parent e85eb5c commit a7e3f06
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"eth-typing",
"eth-utils",
"hexbytes",
"py-geth>=5.0.0-beta.2,<6",
"py-geth>=5.1.0,<6",
"trie>=3.0.1,<4", # Peer: stricter pin needed for uv support.
"web3[tester]>=6.17.2,<7",
# ** Dependencies maintained by ApeWorX **
Expand Down
12 changes: 0 additions & 12 deletions src/ape_node/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,18 +225,6 @@ def _ws_hostname(self) -> Optional[str]:
def _ws_port(self) -> Optional[str]:
return self.geth_kwargs.get("ws_port")

@cached_property
def ipc_path(self) -> str:
# Can remove if https://github.com/ethereum/py-geth/pull/239 merged.
return self.geth_kwargs.get("ipc_path") or os.path.abspath(
os.path.expanduser(
os.path.join(
self.data_dir,
"geth.ipc",
)
)
)

def connect(self, timeout: int = 60):
self._log_connection()
self.start()
Expand Down

0 comments on commit a7e3f06

Please sign in to comment.