-
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
refactor(blockifier): see if LC fix worked #2274
Conversation
Artifacts upload workflows: |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2274 +/- ##
===========================================
+ Coverage 40.10% 76.91% +36.81%
===========================================
Files 26 386 +360
Lines 1895 40523 +38628
Branches 1895 40523 +38628
===========================================
+ Hits 760 31169 +30409
- Misses 1100 7056 +5956
- Partials 35 2298 +2263 ☔ View full report in Codecov by Sentry. |
5e7593d
to
e48c43b
Compare
Benchmark movements: |
e48c43b
to
caf85b2
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: 0 of 4 files reviewed, 1 unresolved discussion
crates/blockifier/src/execution/native/entry_point_execution.rs
line 76 at r2 (raw file):
// // TODO(Yoni): temporary hack - this is probably a bug. Investigate and fix native. // remaining_gas = syscall_handler.call.initial_gas; // } else {
LC fix should also fix this issue, right? If so, how can we test it?
Code quote:
if remaining_gas > syscall_handler.base.call.initial_gas {
// if remaining_gas - syscall_handler.call.initial_gas
// <= syscall_handler.context.gas_costs().entry_point_initial_budget
// {
// // Revert the refund.
// // TODO(Yoni): temporary hack - this is probably a bug. Investigate and fix native.
// remaining_gas = syscall_handler.call.initial_gas;
// } else {
caf85b2
to
e2fb0e4
Compare
Benchmark movements: |
No description provided.