-
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): have limit_steps_by_resources flag rep charge_fee flag and enforce_fee ret val #833
chore(blockifier): have limit_steps_by_resources flag rep charge_fee flag and enforce_fee ret val #833
Conversation
3a57b77
to
bf61e1c
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #833 +/- ##
===========================================
- Coverage 74.18% 63.63% -10.56%
===========================================
Files 359 131 -228
Lines 36240 17487 -18753
Branches 36240 17487 -18753
===========================================
- Hits 26886 11128 -15758
+ Misses 7220 5572 -1648
+ Partials 2134 787 -1347
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ 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
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)
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 14 files at r4.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @avivg-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: all files reviewed, 1 unresolved discussion (waiting on @avivg-starkware)
crates/blockifier/src/execution/syscalls/syscall_tests/get_execution_info.rs
line 244 at r4 (raw file):
..trivial_external_entry_point_with_address(test_contract_address) };
Revert this space
531e209
to
b47f494
Compare
cf3b295
to
3e17257
Compare
b47f494
to
3153235
Compare
3e17257
to
8491603
Compare
30144eb
to
c62db67
Compare
18f62c7
to
d1996b7
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: 10 of 16 files reviewed, 3 unresolved discussions (waiting on @meship-starkware and @noaov1)
crates/blockifier/src/transaction/transaction_execution.rs
line 144 at r7 (raw file):
Previously, noaov1 (Noa Oved) wrote…
We can leave it as is. However, we need to add a special treatment for the L1 handler case.
Done.
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 6 of 6 files at r13, all commit messages.
Reviewable status: all files reviewed, 4 unresolved discussions (waiting on @avivg-starkware and @noaov1)
a discussion (no related file):
Please rebase over main
c0fef24
to
b7acb06
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 12 of 12 files at r15, all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @noaov1)
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 6 files at r13, 1 of 12 files at r15, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @avivg-starkware)
b7acb06
to
8408f29
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 9 files at r10, 4 of 6 files at r13, 9 of 12 files at r15, 3 of 3 files at r16, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @avivg-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: all files reviewed, 1 unresolved discussion (waiting on @avivg-starkware)
crates/blockifier/src/transaction/transaction_execution.rs
line 144 at r7 (raw file):
Previously, avivg-starkware wrote…
Done.
Changed my mind- please set it to false
.
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.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @avivg-starkware)
8408f29
to
ac8ac5e
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 @noaov1)
crates/blockifier/src/transaction/transaction_execution.rs
line 144 at r7 (raw file):
Previously, noaov1 (Noa Oved) wrote…
Changed my mind- please set it to
false
.
Done.
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 14 files at r4, 1 of 9 files at r9, 1 of 9 files at r10, 2 of 7 files at r12, 4 of 6 files at r13, 10 of 12 files at r15, 3 of 3 files at r16.
Reviewable status: 13 of 22 files reviewed, 1 unresolved discussion (waiting on @meship-starkware and @noaov1)
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 9 of 9 files at r17, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @avivg-starkware)
crates/blockifier/src/test_utils/struct_impls.rs
line 89 at r17 (raw file):
self.execute_directly_given_tx_info( state, TransactionInfo::Deprecated(DeprecatedTransactionInfo::default()),
?
Suggestion:
// TODO(Yoni, 1/12/2024): change the default to V3.
TransactionInfo::Deprecated(DeprecatedTransactionInfo::default()),
ac8ac5e
to
ad89489
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 all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @noaov1)
crates/blockifier/src/test_utils/struct_impls.rs
line 89 at r17 (raw file):
Previously, noaov1 (Noa Oved) wrote…
?
there's only one comment such as this I see in this file on origin/main ( line 54 ). perhaps it was recently changed?
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 9 of 9 files at r17.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @noaov1)
…flag and enforce_fee ret val
ad89489
to
3c6fe63
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 3 of 3 files at r18, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @avivg-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 all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @avivg-starkware)
This change is