-
Notifications
You must be signed in to change notification settings - Fork 160
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
Add option to pass Sierra programs to cairo1-run #1719
Conversation
…ccept-sierra-cairo1-run
Benchmark Results for unmodified programs 🚀
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1719 +/- ##
==========================================
- Coverage 94.80% 94.79% -0.01%
==========================================
Files 100 100
Lines 38212 38213 +1
==========================================
Hits 36225 36225
- Misses 1987 1988 +1 ☔ View full report in Codecov by Sentry. |
|
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.
Nice @fmoletta !
Just one question, I am getting an error when trying to execute .sierra programs
➜ cairo1-run git:(accept-sierra-cairo1-run) ✗ cargo run poseidon.json.sierra --layout all_cairo
Finished dev [unoptimized + debuginfo] target(s) in 0.09s
Running `/Users/peter/repos/cairo-vm/target/debug/cairo1-run poseidon.json.sierra --layout all_cairo`
Error: SierraCompilation("Only files with .cairo extension can be compiled.")
I compiled the sierra with cairo compiler v2.6.3
cargo run --bin cairo-compile -- --single-file ../cairo-vm/cairo_programs/cairo-1-programs/poseidon.cairo ../cairo-vm/cairo1-run/poseidon.json.sierra --replace-ids
Also, do you have a scarb project which I can test to execute?
|
Great! |
Mirrors #1544 + Adds some fixes