-
Notifications
You must be signed in to change notification settings - Fork 21
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
build: blockifier regression test add block info #946
build: blockifier regression test add block info #946
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @AvivYossef-starkware and the rest of your teammates on Graphite |
5779232
to
63df357
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #946 +/- ##
==========================================
- Coverage 74.18% 68.29% -5.90%
==========================================
Files 359 131 -228
Lines 36240 13075 -23165
Branches 36240 13075 -23165
==========================================
- Hits 26886 8930 -17956
+ Misses 7220 3681 -3539
+ Partials 2134 464 -1670
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
6ca2811
to
d3ba818
Compare
63df357
to
5dcd0aa
Compare
d3ba818
to
5b3d719
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: 1 of 2 files reviewed, 1 unresolved discussion (waiting on @AvivYossef-starkware)
crates/gateway/src/lib.rs
line 11 at r2 (raw file):
#[cfg(test)] mod rpc_state_reader_test; pub mod state_reader;
Blocking until approved by @dorimedini-starkware
Code quote:
pub mod state_reader;
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: 1 of 2 files reviewed, 1 unresolved discussion (waiting on @aner-starkware and @dorimedini-starkware)
crates/gateway/src/lib.rs
line 11 at r2 (raw file):
Previously, aner-starkware wrote…
Blocking until approved by @dorimedini-starkware
this should be approved by someone from GW team
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 r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @aner-starkware and @AvivYossef-starkware)
crates/blockifier_regression_test/src/test_state_reader.rs
line 47 at r2 (raw file):
pub fn get_block_info(&self) -> StateResult<BlockInfo> { self.0.get_block_info() }
consider adding #[derive(derive_more::Deref)]
to TestStateReader
- and you may be able to delete this getter. non-blocking
Code quote:
pub fn get_block_info(&self) -> StateResult<BlockInfo> {
self.0.get_block_info()
}
5dcd0aa
to
6c43451
Compare
5b3d719
to
435efac
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, 2 unresolved discussions (waiting on @AvivYossef-starkware and @dafnamatsry)
crates/gateway/src/lib.rs
line 11 at r2 (raw file):
Previously, dorimedini-starkware wrote…
this should be approved by someone from GW team
this is required for the get_block_info functionality?
I think it's fine to make it public but maybe we should rearrange these files as a shared util.
@dafnamatsry wdyt?
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, 2 unresolved discussions (waiting on @dafnamatsry and @dorimedini-starkware)
crates/blockifier_regression_test/src/test_state_reader.rs
line 47 at r2 (raw file):
Previously, dorimedini-starkware wrote…
consider adding
#[derive(derive_more::Deref)]
toTestStateReader
- and you may be able to delete this getter. non-blocking
I believe that it might be misleading since I inherited some of the inner methods and changed some of them.
crates/gateway/src/lib.rs
line 11 at r2 (raw file):
Previously, Yael-Starkware (YaelD) wrote…
this is required for the get_block_info functionality?
I think it's fine to make it public but maybe we should rearrange these files as a shared util.
@dafnamatsry wdyt?
Yes, I need to use the MempoolStateReader trait to get this functionality
6c43451
to
6bba55c
Compare
435efac
to
cb8097e
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 @dorimedini-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 @AvivYossef-starkware)
6bba55c
to
b316636
Compare
cb8097e
to
0e97462
Compare
0e97462
to
1a596c3
Compare
This change is