-
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
chore(blockifier): add sierra to storage w append_block #1773
chore(blockifier): add sierra to storage w append_block #1773
Conversation
Artifacts upload triggered. View details here |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1773 +/- ##
==========================================
- Coverage 40.10% 9.38% -30.72%
==========================================
Files 26 132 +106
Lines 1895 17246 +15351
Branches 1895 17246 +15351
==========================================
+ Hits 760 1619 +859
- Misses 1100 15303 +14203
- Partials 35 324 +289 ☔ 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.
Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @avivg-starkware and @noaov1)
crates/native_blockifier/src/storage.rs
line 170 at r1 (raw file):
let mut declared_classes = IndexMap::<ClassHash, (CompiledClassHash, ContractClass)>::new(); let mut undeclared_casm_contracts = Vec::<(ClassHash, CasmContractClass)>::new(); for (class_hash, (sierra, (compiled_class_hash, raw_class))) in declared_class_hash_to_class
Suggestion:
for (class_hash, (raw_sierra, (compiled_class_hash, raw_casm))) in declared_class_hash_to_class
01d15c9
to
0c1fcc9
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: all files reviewed, 1 unresolved discussion (waiting on @avi-starkware and @noaov1)
crates/native_blockifier/src/storage.rs
line 170 at r1 (raw file):
let mut declared_classes = IndexMap::<ClassHash, (CompiledClassHash, ContractClass)>::new(); let mut undeclared_casm_contracts = Vec::<(ClassHash, CasmContractClass)>::new(); for (class_hash, (sierra, (compiled_class_hash, raw_class))) in declared_class_hash_to_class
Done.
Artifacts upload triggered. View details here |
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 1 of 1 files at r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @noaov1)
0c1fcc9
to
1f1d1c4
Compare
Artifacts upload triggered. View details here |
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 1 of 1 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @noaov1)
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: complete! all files reviewed, all discussions resolved (waiting on @noaov1)
1f1d1c4
to
4295381
Compare
Artifacts upload triggered. View details here |
4295381
to
dbab235
Compare
Artifacts upload triggered. View details here |
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 3 of 4 files at r1, 1 of 1 files at r3, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @avivg-starkware)
crates/native_blockifier/src/storage.rs
line 300 at r3 (raw file):
previous_block_id: Option<PyFelt>, py_block_info: PyBlockInfo, py_state_diff: PyStateDiff,
Consider defining a type (same for deprecated_declared_class_hash_to_class
):
Code snippet:
// Class hash to (raw_sierra, (compiled class hash, raw casm)).
type RawDeclaredClassMapping = HashMap<PyFelt, (String, (PyFelt, String))
dbab235
to
26480a0
Compare
Artifacts upload triggered. View details here |
26480a0
to
5c41e34
Compare
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @avivg-starkware and the rest of your teammates on Graphite |
Artifacts upload triggered. View details here |
5c41e34
to
509590f
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 4 files reviewed, 1 unresolved discussion (waiting on @avi-starkware and @noaov1)
crates/native_blockifier/src/storage.rs
line 300 at r3 (raw file):
Previously, noaov1 (Noa Oved) wrote…
Consider defining a type (same for
deprecated_declared_class_hash_to_class
):
Added :)
Artifacts upload triggered. View details here |
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 1 of 2 files at r4, 3 of 3 files at r5, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @avivg-starkware)
No description provided.