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

bug: addressing issue in rust vm_consts getter #908

Open
enitrat opened this issue Feb 28, 2025 · 0 comments
Open

bug: addressing issue in rust vm_consts getter #908

enitrat opened this issue Feb 28, 2025 · 0 comments
Assignees
Milestone

Comments

@enitrat
Copy link
Collaborator

enitrat commented Feb 28, 2025

when executing pythonic hints in rust, there's a small issue when accessing members of cairo structs:

eg

    %{
        if ids.err.value == 0:
            print(f"[CAIRO] OpEnd")
    %}

This should be equivalent to:
%{
if memory[ids.err.address_] == 0:
print(f"[CAIRO] OpEnd")
%}

But fails because it's not dereferencing the err because of Expected relocatable at address 1:25517

@github-project-automation github-project-automation bot moved this to Backlog in Keth Feb 28, 2025
@enitrat enitrat self-assigned this Mar 2, 2025
@enitrat enitrat moved this from Backlog to Todo in Keth Mar 3, 2025
@Eikix Eikix added this to the Optimization milestone Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants