diff --git a/multicall/signature.py b/multicall/signature.py index 51deec7..d24999e 100644 --- a/multicall/signature.py +++ b/multicall/signature.py @@ -114,12 +114,12 @@ def __init__(self, signature: str) -> None: output_types = parsed[2] self.output_types: Final = output_types self.fourbyte: Final = get_4byte_selector(self.function) - self._encoder: Final = ( + self._encoder: Final[faster_eth_abi.encoding.TupleEncoder | None] = ( TupleEncoder(encoders=tuple(_get_encoder(type_str) for type_str in input_types)) if input_types else None ) - self._decoder: Final = TupleDecoder( + self._decoder: Final[faster_eth_abi.decoding.TupleDecoder[Any]] = TupleDecoder( decoders=tuple(_get_decoder(type_str) for type_str in output_types) ) diff --git a/poetry.lock b/poetry.lock index 3ecc8bc..5411275 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3981,4 +3981,4 @@ propcache = ">=0.2.1" [metadata] lock-version = "2.1" python-versions = ">=3.10,<4" -content-hash = "5fb40846f13a915c652717c0bd77edb46081464c9a6fcedbe1c24acc0b954c3b" +content-hash = "a53973cef7936288534bfcb9832046d7dabb1e3eb2a607bcca247f0cfb7030b5" diff --git a/pyproject.toml b/pyproject.toml index 87185b4..0d9b17a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ authors = ["banteg"] [tool.poetry.dependencies] python = ">=3.10,<4" cchecksum = ">=0.0.3,<1" -faster-eth-abi = ">=5.2.1,<6" +faster-eth-abi = ">=5.2.16,<6" web3 = ">=7,<8" eth_retry = ">=0.3.5" @@ -57,7 +57,7 @@ requires = [ "tomli>=2.0.0; python_version < '3.11'", "types-requests", "eth_retry==0.3.5", - "faster-eth-abi==5.2.15", + "faster-eth-abi==5.2.29", ] build-backend = "setuptools.build_meta"