-
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(blockifier): add n_allocated_keys #2149
Conversation
Artifacts upload triggered. View details here |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2149 +/- ##
===========================================
+ Coverage 40.10% 68.67% +28.56%
===========================================
Files 26 108 +82
Lines 1895 13924 +12029
Branches 1895 13924 +12029
===========================================
+ Hits 760 9562 +8802
- Misses 1100 3951 +2851
- Partials 35 411 +376 ☔ 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 all commit messages.
Reviewable status: 0 of 13 files reviewed, 1 unresolved discussion (waiting on @nimrod-starkware and @yoavGrs)
a discussion (no related file):
please split this PR
there are functions being moved to different types here, they can be separated (if you can think of other things that can be split away please do)
34effde
to
c25c984
Compare
Artifacts upload triggered. View details here |
Artifacts upload triggered. View details here |
c25c984
to
63e3201
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 13 of 13 files at r7, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @nimrod-starkware and @yoavGrs)
crates/blockifier/src/state/cached_state.rs
line 687 at r7 (raw file):
impl AllocatedKeys { pub fn extend(&mut self, state_change: &StateChanges) {
you are not going to implement this with extend
later
Suggestion:
update
crates/blockifier/src/state/cached_state.rs
line 692 at r7 (raw file):
} pub fn count(&self) -> usize {
seems natural, non-blocking
Suggestion:
len
46a6da2
to
868b6b6
Compare
63e3201
to
2d9b007
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: 10 of 13 files reviewed, 2 unresolved discussions (waiting on @dorimedini-starkware and @nimrod-starkware)
a discussion (no related file):
Previously, dorimedini-starkware wrote…
please split this PR
there are functions being moved to different types here, they can be separated (if you can think of other things that can be split away please do)
Done.
crates/blockifier/src/state/cached_state.rs
line 687 at r7 (raw file):
Previously, dorimedini-starkware wrote…
you are not going to implement this with
extend
later
Done.
crates/blockifier/src/state/cached_state.rs
line 692 at r7 (raw file):
Previously, dorimedini-starkware wrote…
seems natural, non-blocking
Rust asks me to implement is_empty
as well.
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 3 files at r8, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @nimrod-starkware)
crates/blockifier/src/state/cached_state.rs
line 692 at r7 (raw file):
Previously, yoavGrs wrote…
Rust asks me to implement
is_empty
as well.
lol ok
868b6b6
to
d7d90ca
Compare
2d9b007
to
2e91cee
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 3 files at r9, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @nimrod-starkware)
d7d90ca
to
3cf36e7
Compare
2e91cee
to
13f1440
Compare
3cf36e7
to
bb121ba
Compare
13f1440
to
13ad371
Compare
bb121ba
to
d3b22a0
Compare
13ad371
to
9a5a07d
Compare
9a5a07d
to
f3f9f90
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 3 of 3 files at r10, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @nimrod-starkware)
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 @nimrod-starkware)
f3f9f90
to
d8ad5ee
Compare
No description provided.