@@ -178,8 +178,7 @@ def construct_event_data_set(
178178
179179 normalized_args = {
180180 key : value if is_list_like (value ) else [value ]
181- # type ignored b/c at this point arguments is always a dict
182- for key , value in arguments .items () # type: ignore
181+ for key , value in arguments .items ()
183182 }
184183
185184 non_indexed_args = exclude_indexed_event_inputs (event_abi )
@@ -497,7 +496,7 @@ def _build_argument_filters_from_event_abi(
497496array_to_tuple : Final = apply_formatter_if (is_list_like , tuple )
498497
499498
500- def _normalize_match_values (match_values : Collection [Any ]) -> Iterable [Any ]:
499+ def _normalize_match_values (match_values : Collection [Any ]) -> Tuple [Any , ... ]:
501500 return tuple (map (array_to_tuple , match_values ))
502501
503502
@@ -535,7 +534,6 @@ def match_values(self) -> None:
535534
536535@final
537536class DataArgumentFilter (BaseArgumentFilter ):
538- # type ignore b/c conflict with BaseArgumentFilter.match_values type
539537 @property
540538 def match_values (self ) -> Union [
541539 Tuple [TypeStr , Tuple [Any , ...]],
@@ -550,12 +548,11 @@ def __init__(self, arg_type: TypeStr, abi_codec: ABICodec) -> None:
550548 super ().__init__ (arg_type )
551549 self .abi_codec : Final = abi_codec
552550
553- def _get_match_values (self ) -> Iterable [HexStr ]:
551+ def _get_match_values (self ) -> Tuple [HexStr , ... ]:
554552 return tuple (map (self ._encode , cast (Tuple [Any , ...], self ._match_values )))
555553
556- # type ignore b/c conflict with BaseArgumentFilter.match_values type
557554 @property
558- def match_values (self ) -> Optional [Tuple [HexStr , ...]]: # type: ignore
555+ def match_values (self ) -> Optional [Tuple [HexStr , ...]]:
559556 return self ._get_match_values () if self ._match_values is not None else None
560557
561558 def _encode (self , value : Any ) -> HexStr :
0 commit comments