Skip to content

Commit

Permalink
fix: http uri in eth-tester
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Dec 24, 2024
1 parent 8c7a884 commit ac2507a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/ape_test/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from ast import literal_eval
from collections.abc import Iterator
from functools import cached_property
from pathlib import Path
from re import Pattern
from typing import TYPE_CHECKING, Any, Optional, cast

Expand Down Expand Up @@ -182,6 +183,18 @@ def auto_mine(self, value: Any) -> None:
def max_gas(self) -> int:
return self.evm_backend.get_block_by_number("latest")["gas_limit"]

@property
def http_uri(self) -> Optional[str]:
return None

@property
def ws_uri(self) -> Optional[str]:
return None

@property
def ipc_path(self) -> Optional[Path]:
return None

def connect(self):
self.__dict__.pop("tester", None)
self._web3 = Web3(self.tester)
Expand Down

0 comments on commit ac2507a

Please sign in to comment.