-
Notifications
You must be signed in to change notification settings - Fork 25
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: use the installed starknet-sierra-compile crate to compile #331
feat: use the installed starknet-sierra-compile crate to compile #331
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @ArniStarkware and the rest of your teammates on Graphite |
97cb2c1
to
5a926bc
Compare
fde8aaa
to
5fe2a9a
Compare
5a926bc
to
ceb0705
Compare
5fe2a9a
to
a8c4ff3
Compare
Benchmark movements: |
ceb0705
to
a357566
Compare
a8c4ff3
to
b874e1e
Compare
a357566
to
faf29e3
Compare
b874e1e
to
4005bec
Compare
Benchmark movements: |
faf29e3
to
1427c61
Compare
4005bec
to
b2401d0
Compare
Benchmark movements: |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## arni/starknet_sierra_compile/error_types #331 +/- ##
============================================================================
+ Coverage 76.39% 76.44% +0.05%
============================================================================
Files 349 350 +1
Lines 36900 36951 +51
Branches 36900 36951 +51
============================================================================
+ Hits 28190 28248 +58
+ Misses 6384 6375 -9
- Partials 2326 2328 +2 ☔ View full report in Codecov by Sentry. |
1427c61
to
ea250fb
Compare
b2401d0
to
05eb65a
Compare
ea250fb
to
68f08ae
Compare
Benchmark movements: |
05eb65a
to
194de8a
Compare
Benchmark movements: |
194de8a
to
aa60858
Compare
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.
Reviewable status: 0 of 8 files reviewed, all discussions resolved
a discussion (no related file):
To speed up development, we made a temporary hack.
The compiler is saved as an executable to crates/starknet_sierra_compile/executable/starknet-sierra-compile
.
We run this executable to compile.
68f08ae
to
0448d72
Compare
aa60858
to
0029287
Compare
Benchmark movements: |
0448d72
to
e5973fd
Compare
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.
Reviewed 4 of 4 files at r6, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @ArniStarkware)
crates/gateway/src/compilation.rs
line 67 at r6 (raw file):
Ok(casm_contract_class) => Ok(casm_contract_class), Err(starknet_sierra_compile::errors::CompilationUtilError::UnexpectedError(error)) => { // TODO(Arni): Log the panic.UnexpectedPanic
Can be removed?
Code quote:
// TODO(Arni): Log the panic.UnexpectedPanic
e311773
to
0f6cdaa
Compare
Previously, dafnamatsry wrote…
Done. |
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.
Reviewed 2 of 2 files at r7, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion
0f6cdaa
to
002a0c8
Compare
Benchmark movements: |
002a0c8
to
4d9a6e6
Compare
Benchmark movements: |
Benchmark movements: |
7d4d6c7
to
90324db
Compare
4d9a6e6
to
8c49b2b
Compare
Benchmark movements: |
90324db
to
f53c3c5
Compare
8c49b2b
to
5afc761
Compare
Benchmark movements: |
5afc761
to
6f2bfc8
Compare
Benchmark movements: |
f53c3c5
to
baa9d89
Compare
This change is