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

Unsupported instruction while trying to print the call graph #103

Closed
gaetbout opened this issue Dec 3, 2022 · 1 comment · Fixed by #105
Closed

Unsupported instruction while trying to print the call graph #103

gaetbout opened this issue Dec 3, 2022 · 1 comment · Fixed by #105
Assignees
Labels
bug Something isn't working

Comments

@gaetbout
Copy link

gaetbout commented Dec 3, 2022

Hey,

While trying to run:
thoth local build/kakarot.json -call -view True

that can be generated from: https://github.com/sayajin-labs/kakarot
I ran into an error:

  File "/home/x/.local/lib/python3.10/site-packages/thoth/app/disassembler/cairo_instruction.py", line 129, in decode_instruction_values
    assert 0 <= encoded_instruction < 2 ** (3 * OFFSET_BITS + N_FLAGS), "Unsupported instruction."
AssertionError: Unsupported instruction.

Here si the input file:
kakarot.txt

As Json file isn't allowed (to be send, here) I changed the extension to .txt, but you can simply change it back to .json to try it yourself.

Hope I provided enough info!

Good luck,
G.

@raefko raefko added the bug Something isn't working label Dec 3, 2022
Rog3rSm1th added a commit that referenced this issue Dec 5, 2022
@pventuzelo
Copy link
Member

Thanks for the issue @gaetbout ;)
Let me know if you find any more issue or if you have any other feedback ;)

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.

4 participants