-
Notifications
You must be signed in to change notification settings - Fork 15
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): have limit_steps_by_resources flag rep charge_fee flag and enforce_fee ret val #833
base: avivg/blockifier/combine_charge_fee_w_enforce_fee
Are you sure you want to change the base?
Conversation
3a57b77
to
bf61e1c
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## avivg/blockifier/combine_charge_fee_w_enforce_fee #833 +/- ##
=====================================================================================
+ Coverage 70.43% 74.35% +3.91%
=====================================================================================
Files 88 358 +270
Lines 11094 36238 +25144
Branches 11094 36238 +25144
=====================================================================================
+ Hits 7814 26943 +19129
- Misses 2891 7155 +4264
- Partials 389 2140 +1751 ☔ View full report in Codecov by Sentry. |
bf61e1c
to
843da5d
Compare
843da5d
to
6c9a32d
Compare
4d232d6
to
7affb82
Compare
Benchmark movements: |
49d8c5c
to
03a7b88
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 2 files at r1, 9 of 9 files at r2, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @avivg-starkware)
crates/blockifier/src/blockifier/stateful_validator.rs
line 118 at r2 (raw file):
let tx_context = Arc::new(self.tx_executor.block_context.to_tx_context(tx)); let limit_steps_by_resources = tx.create_tx_info().enforce_fee(); //aviv: was true;
Remove all aviv comments.
crates/blockifier/src/concurrency/worker_logic.rs
line 30 at r2 (raw file):
TransactionInfoCreator, };
Revert this change.
8cbac73
to
3df10e1
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 2 files at r3, all commit messages.
Reviewable status: 9 of 10 files reviewed, 1 unresolved discussion (waiting on @avivg-starkware)
7affb82
to
c1309cb
Compare
3df10e1
to
a4006fc
Compare
c1309cb
to
7dd6541
Compare
…flag and enforce_fee ret val
a4006fc
to
cf3b295
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 11 of 14 files at r4, all commit messages.
Reviewable status: 11 of 14 files reviewed, 1 unresolved discussion (waiting on @avivg-starkware)
This change is