-
Notifications
You must be signed in to change notification settings - Fork 16
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 pre_process_and_create c-tor for TransactionEx… #1030
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1030 +/- ##
===========================================
- Coverage 74.18% 62.30% -11.89%
===========================================
Files 359 146 -213
Lines 36240 17845 -18395
Branches 36240 17845 -18395
===========================================
- Hits 26886 11118 -15768
+ Misses 7220 5876 -1344
+ Partials 2134 851 -1283
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ 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 3 of 5 files at r1.
Reviewable status: 3 of 5 files reviewed, 2 unresolved discussions (waiting on @noaov1 and @Yoni-Starkware)
crates/blockifier/src/test_utils/struct_impls.rs
line 145 at r1 (raw file):
impl BlockNumberHashPair { pub fn create_given_current(block_number: BlockNumber) -> Option<Self> {
I think that the name is misleading
Suggestion:
create_dummy_given_current
crates/native_blockifier/src/py_block_executor.rs
line 143 at r1 (raw file):
Ok(()) }
I would expect papyrus_execution to use pre_process_and_create as well, but I see that they are using a completely different object there for execution. why?
34b3905
to
824e2ff
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: 1 of 6 files reviewed, 2 unresolved discussions (waiting on @noaov1 and @Yael-Starkware)
crates/blockifier/src/test_utils/struct_impls.rs
line 145 at r1 (raw file):
Previously, Yael-Starkware (YaelD) wrote…
I think that the name is misleading
Done.
crates/native_blockifier/src/py_block_executor.rs
line 143 at r1 (raw file):
Previously, Yael-Starkware (YaelD) wrote…
I would expect papyrus_execution to use pre_process_and_create as well, but I see that they are using a completely different object there for execution. why?
Hmmm, I think that they need more things (e.g. state diff per tx) which is not supported atm.
Added a TODO
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 r2, all commit messages.
Reviewable status: 4 of 6 files reviewed, all discussions resolved (waiting on @noaov1)
824e2ff
to
2dd3cb9
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 5 files at r1, 1 of 3 files at r2, 4 of 4 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @noaov1)
…ecutor
This change is