Skip to content

Commit

Permalink
chore: move BlockNumberType to init file.
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-tb committed May 15, 2024
1 parent 695a854 commit 41b5f38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ethereum_test_tools/rpc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
JSON-RPC methods and helper functions for EEST consume based hive simulators.
"""

from .rpc import EthRPC
from .rpc import BlockNumberType, EthRPC

__all__ = ["EthRPC"]
__all__ = ["EthRPC", "BlockNumberType"]
2 changes: 2 additions & 0 deletions src/ethereum_test_tools/rpc/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

from ethereum_test_tools import Address

BlockNumberType = Union[int, Literal["latest", "earliest", "pending"]]


class BaseRPC:
"""
Expand Down

0 comments on commit 41b5f38

Please sign in to comment.