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

feat(hints): add load compiled classes #22

Closed
wants to merge 10 commits into from
Closed

feat(hints): add load compiled classes #22

wants to merge 10 commits into from

Conversation

0xLucqs
Copy link
Collaborator

@0xLucqs 0xLucqs commented Sep 26, 2023

No description provided.

tests/snos.rs Outdated Show resolved Hide resolved
tests/snos.rs Show resolved Hide resolved
Copy link
Contributor

@drspacemn drspacemn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: unused import: cairo_vm::hint_processor::builtin_hint_processor::hint_utils::get_integer_from_var_name
--> tests/snos.rs:7:5
|
7 | use cairo_vm::hint_processor::builtin_hint_processor::hint_utils::get_integer_from_var_name;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default

@@ -4,8 +4,6 @@ func main(output_ptr: felt*) -> (output_ptr: felt*) {
tempvar a = 17;
a = [output_ptr], ap++;

// Use custom hint to print the value of a
%{ print(ids.a) %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this the purpose of the hint.cairo file?

@drspacemn drspacemn marked this pull request as draft September 28, 2023 22:46
@0xLucqs 0xLucqs force-pushed the lucas/hints branch 2 times, most recently from 4d6d45e to 553581f Compare October 10, 2023 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants