-
Notifications
You must be signed in to change notification settings - Fork 26
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(native_blockifier): convert general config to os config #561
chore(native_blockifier): convert general config to os config #561
Conversation
3c2a46d
to
380a783
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main-v0.13.2 #561 +/- ##
================================================
- Coverage 76.41% 76.40% -0.01%
================================================
Files 314 314
Lines 34241 34238 -3
Branches 34241 34238 -3
================================================
- Hits 26164 26161 -3
Misses 5800 5800
Partials 2277 2277 ☔ 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.
Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion
crates/native_blockifier/src/py_block_executor.rs
line 407 at r1 (raw file):
path: std::path::PathBuf, max_state_diff_size: usize, ) -> Self {
Turns out this was passed to PyValidator
& PyBlockExecutor
, just never used.
validate_max_n_steps
was also passed PyGeneralConfig
and not used (but it was also passed by 'PyVersionedConstantsOverrides' and used. this duplication was not added by me, BTW)
Suggestion:
pub invoke_tx_max_n_steps: u32
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.
+reviewer:@dorimedini-starkware +reviewer:@Yonatan-Starkware
Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware and @Yonatan-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.
-reviewer:@Yonatan-Starkware +reviewer:@Yoni-Starkware
Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware and @Yoni-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.
Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @amosStarkware and @Yoni-Starkware)
crates/native_blockifier/src/py_block_executor.rs
line 407 at r1 (raw file):
Previously, amosStarkware wrote…
Turns out this was passed to
PyValidator
&PyBlockExecutor
, just never used.
validate_max_n_steps
was also passedPyGeneralConfig
and not used (but it was also passed by 'PyVersionedConstantsOverrides' and used. this duplication was not added by me, BTW)
I don't see these highlighted lines here, what are you referring to?
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 and @Yoni-Starkware)
crates/native_blockifier/src/py_block_executor.rs
line 407 at r1 (raw file):
Previously, dorimedini-starkware wrote…
I don't see these highlighted lines here, what are you referring to?
to the fields PyGeneralConfig::invoke_tx_max_n_steps
, PyGeneralConfig::validate_max_n_steps
(which I deleted)
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 @Yoni-Starkware)
This change is