-
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
chore(blockifier): add global max_sierra_gas to versioned constants #2330
Conversation
cc3b301
to
ad9040d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2330 +/- ##
===========================================
+ Coverage 40.10% 68.85% +28.74%
===========================================
Files 26 108 +82
Lines 1895 14028 +12133
Branches 1895 14028 +12133
===========================================
+ Hits 760 9659 +8899
- Misses 1100 3956 +2856
- Partials 35 413 +378 ☔ View full report in Codecov by Sentry. |
ad9040d
to
ff70b1c
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.
Python side: https://reviewable.io/reviews/starkware-industries/starkware/36341
Reviewable status: 0 of 8 files reviewed, all discussions resolved (waiting on @aner-starkware)
ff70b1c
to
d33ffac
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 8 files at r1, 7 of 7 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @aner-starkware, @TzahiTaub, and @Yoni-Starkware)
crates/blockifier/src/versioned_constants.rs
line 184 at r2 (raw file):
pub max_recursion_depth: usize, pub validate_max_n_steps: u32, pub validate_max_sierra_gas: u64,
can you deserialize / serialize directly to GasAmount?
Suggestion:
pub execute_max_sierra_gas: GasAmount,
pub deprecated_l2_resource_gas_costs: ArchivalDataGasCosts,
pub archival_data_gas_costs: ArchivalDataGasCosts,
pub max_recursion_depth: usize,
pub validate_max_n_steps: u32,
pub validate_max_sierra_gas: GasAmount,
b643703
to
8eadf8e
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: complete! all files reviewed, all discussions resolved (waiting on @TzahiTaub and @Yoni-Starkware)
a4ecb0c
to
064540d
Compare
064540d
to
ab923d0
Compare
No description provided.