-
Notifications
You must be signed in to change notification settings - Fork 35
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_test_utils): move functions from blockifier::test_utils and update dependencies #3931
feat(blockifier_test_utils): move functions from blockifier::test_utils and update dependencies #3931
Conversation
52e2578
to
85c34cb
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 24 of 24 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @AvivYossef-starkware and @rotem-starkware)
a discussion (no related file):
update the PR title to match the commit message (commitlint runs on the PR title, as this title is what will appear when you merge the PR)
a discussion (no related file):
looks good!
next time, please split into two PRs: one to create the (empty) crate, and one to move the function
crates/blockifier_test_utils/src/calldata.rs
line 55 at r1 (raw file):
pub fn u64_from_usize(val: usize) -> u64 { val.try_into().expect("Conversion from usize to u64 should not fail.") }
this should not be in calldata.rs
; please create a types.rs
module for it
Code quote:
/// Conversion from usize to u64. May fail on architectures with over 64 bits
/// of address space.
pub fn u64_from_usize(val: usize) -> u64 {
val.try_into().expect("Conversion from usize to u64 should not fail.")
}
85c34cb
to
f4796b7
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 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @AvivYossef-starkware and @rotem-starkware)
f4796b7
to
28f7a6c
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 1 of 1 files at r3, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @AvivYossef-starkware and @rotem-starkware)
28f7a6c
to
3a23256
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 1 of 1 files at r4, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @AvivYossef-starkware and @rotem-starkware)
3a23256
to
2579028
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 1 of 1 files at r5, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @AvivYossef-starkware and @rotem-starkware)
Benchmark movements: |
2579028
to
f6948b8
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 1 of 1 files at r6, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @AvivYossef-starkware and @rotem-starkware)
1b0d72f
to
9c10b08
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 2 of 2 files at r7, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @AvivYossef-starkware and @rotem-starkware)
Previously, dorimedini-starkware wrote…
Done. |
c763b93
to
a53875d
Compare
9c10b08
to
6a9f44a
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 2 of 2 files at r8, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @AvivYossef-starkware and @rotem-starkware)
Previously, dorimedini-starkware wrote…
create the module inside the crate blockifier_test_utils? |
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 @AvivYossef-starkware and @rotem-starkware)
crates/blockifier_test_utils/src/calldata.rs
line 55 at r1 (raw file):
Previously, rotem-starkware wrote…
create the module inside the crate blockifier_test_utils?
yes
…ls and update dependencies
6a9f44a
to
f53d30e
Compare
Previously, dorimedini-starkware 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 3 of 3 files at r9, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @AvivYossef-starkware and @dorimedini-starkware)
No description provided.