Closed avi-starkware closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.61%. Comparing base (
d924c79
) to head (a1b8d05
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@barak-b-starkware said his flow test got stuck in an infinite loop, so I tried to think of places where the scheduler might get stuck.
This is probably not the bug from Barak's flow test because his flow test does not use the method halt_scheduler
, but it is still a bug.
crates/blockifier/src/concurrency/scheduler.rs
line 31 at r1 (raw file):
*self.commit_index_guard < self.scheduler.chunk_size, "The commit index must be less than the chunk size, since the scheduler is not done." );
Why do we need this assertion? It feels trivial/redundant. What do I miss here?
Code quote:
assert!(
*self.commit_index_guard < self.scheduler.chunk_size,
"The commit index must be less than the chunk size, since the scheduler is not done."
);
This change is![Reviewable](https://reviewable.io/review_button.svg)