-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: rust vm hints #412
feat: rust vm hints #412
Conversation
4134980
to
8876982
Compare
8069a95
to
e629b46
Compare
6d3b961
to
0494085
Compare
4079651
to
91d2d79
Compare
26f6ba7
to
17e896e
Compare
@@ -103,11 +88,14 @@ def test_nibble_list_to_compact_should_raise_when_wrong_remainder( | |||
), | |||
cairo_error(message="nibble_list_to_compact: invalid remainder"), | |||
): | |||
cairo_run("nibble_list_to_compact", x, is_leaf) | |||
# Always run patch_hint tests with the python VM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to think about a solution for this for ok for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: one could put all the imports at the module level and no imports in the hints because the whole module is loaded so they would be available at runtime, but I think that it's also good to keep the module imports at the minimum required to define a hint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok to merge but I'd like to better organize rust VS python hints, probably in their own crates/workspace package
Adds most common hints to run the tests in the Rust VM.