Skip to content

Commit

Permalink
Change deprecation text in felt.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Solpatium committed Jan 9, 2023
1 parent 9c6c32c commit 34ee08c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions starknet_py/cairo/felt.py
Expand Up @@ -14,7 +14,7 @@

def is_felt_pointer(cairo_type: CairoType) -> bool:
warnings.warn(
"is_felt_pointer is deprecated. Use new starknet_py.cairo.type_parser instead.",
"is_felt_pointer is deprecated. Use starknet_py.cairo.type_parser module instead.",
category=DeprecationWarning,
)
return isinstance(cairo_type, TypePointer) and isinstance(
Expand All @@ -24,7 +24,7 @@ def is_felt_pointer(cairo_type: CairoType) -> bool:

def is_uint256(definition: StructDefinition) -> bool:
warnings.warn(
"is_uint256 is deprecated. Use new starknet_py.cairo.type_parser instead.",
"is_uint256 is deprecated. Use starknet_py.cairo.type_parser module instead.",
category=DeprecationWarning,
)
(struct_name, *_) = definition.full_name.path
Expand Down

0 comments on commit 34ee08c

Please sign in to comment.