Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type 'core::zeroable::NonZero' is not defined #1519

Closed
1 task done
NikitaMishin opened this issue Nov 20, 2024 · 3 comments · Fixed by #1527
Closed
1 task done

Type 'core::zeroable::NonZero' is not defined #1519

NikitaMishin opened this issue Nov 20, 2024 · 3 comments · Fixed by #1527
Labels
bug Something isn't working

Comments

@NikitaMishin
Copy link

What happened

Took abi from argent wallet to intitialize Contract instance and received exception.

Stack trace

starknet_py.cairo.v2.type_parser.UnknownCairoTypeError: Type 'core::zeroable::NonZero' is not defined. Please report this issue at https://github.com/software-mansion/starknet.py/issues

Steps to reproduce

abi = from here https://sepolia.starkscan.co/contract/0x051d992db2a0b33c0a39cc821823f672b9c981cdba429be91380de9b84a85d4d#class-code-history

  1. Contract(0, account_abi, self._client, cairo_version=1)

SDK Version

0.22.0

Python version

3.9.19

What operating system are you using?

Mac

Is there an existing issue for this?

  • I have searched the existing issues and verified no issue exits for this problem.
@NikitaMishin NikitaMishin added the bug Something isn't working label Nov 20, 2024
@NikitaMishin
Copy link
Author

await Contract.from_address(0x051d992db2a0b33c0a39cc821823f672b9c981cdba429be91380de9b84a85d4d) also not working

@software-mansion software-mansion deleted a comment Nov 21, 2024
@franciszekjob
Copy link
Collaborator

Hi @NikitaMishin , thanks for reporting this. Will take a look at it 🙏

@franciszekjob franciszekjob mentioned this issue Nov 25, 2024
1 task
@franciszekjob
Copy link
Collaborator

@NikitaMishin PR with fix is on the way 🫡
#1527

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants